minor docker comments

This commit is contained in:
msramalho
2025-02-08 15:18:15 +00:00
parent 9a62f3ff59
commit 5494825286
2 changed files with 2 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
services: services:
web: web:
command: uvicorn web:app --factory --host 0.0.0.0 --reload
restart: "no" restart: "no"
env_file: src/.env.dev env_file: src/.env.dev
environment: environment:

View File

@@ -18,6 +18,7 @@ services:
<<: *base-setup <<: *base-setup
ports: ports:
- "127.0.0.1:8004:8000" - "127.0.0.1:8004:8000"
#TODO: should prod have the --reload flag?
command: uvicorn web:app --factory --host 0.0.0.0 --reload command: uvicorn web:app --factory --host 0.0.0.0 --reload
volumes: volumes:
- ./src:/app - ./src:/app