Simplify config and port handling

This commit is contained in:
Fred de Gier 2022-10-03 14:13:10 +02:00
commit 87f4f53e27
5 changed files with 70 additions and 45 deletions

View file

@ -23,8 +23,7 @@ services:
# build:
# context: .
# dockerfile: copilot_proxy/Dockerfile
command: uvicorn app:app --host $API_HOST --port $API_PORT
env_file:
- .env
ports:
- "5001:${API_PORT}"
- "${API_EXTERNAL_PORT}:5000"