Change default ports for enhancer and generator to 8001 and 8002 #28

Open
opened 2025-01-28 12:10:06 +01:00 by Csaba · 0 comments
Owner

I did some quick investigation on the default ports and it left me rather confused. By default, the fastapi apps start on in the terminal 8000, but in docker it is 80. I found neither of these defined in the codebase so I don't understand what makes it different in docker.
Best solution to me seems to adjust the port number on startup with the --port flag (add it to readme), then it is very clear which service runs where for the dev setup, while in compose it is left unchanged.

I did some quick investigation on the default ports and it left me rather confused. By default, the fastapi apps start on in the terminal 8000, but in docker it is 80. I found neither of these defined in the codebase so I don't understand what makes it different in docker. Best solution to me seems to adjust the port number on startup with the --port flag (add it to readme), then it is very clear which service runs where for the dev setup, while in compose it is left unchanged.
Csaba self-assigned this 2025-01-28 12:10:06 +01:00
Csaba added this to the Amarillo project 2025-01-28 12:10:06 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: amarillo/amarillo-core#28
No description provided.