Skip to content

Commit

Permalink
Update docker-compose.yml (#54)
Browse files Browse the repository at this point in the history
reload python server for hot reloading
  • Loading branch information
shem8 authored Oct 15, 2024
1 parent 3a9d48f commit 9c8082d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .framework/python/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
poetry export -f "requirements.txt" --without-hashes --with-credentials > "requirements.txt"
/wait-for-it.sh postgres-python:5432 -q -t 60 &&
poetry run alembic upgrade head &&
poetry run gunicorn app.main:app --worker-class=uvicorn.workers.UvicornWorker --bind=0.0.0.0:3000 --workers=5"
poetry run gunicorn app.main:app --worker-class=uvicorn.workers.UvicornWorker --bind=0.0.0.0:3000 --workers=5 --reload"
working_dir: /usr/src
volumes:
- ./:/usr/src
Expand Down

0 comments on commit 9c8082d

Please sign in to comment.