Skip to content

Commit

Permalink
fix: missing gunicorn reload for local dev (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickatnight committed Feb 27, 2023
1 parent b5e4140 commit ba3d0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
command: |
bash -c "
while !</dev/tcp/{{ cookiecutter.db_container_name }}/5432; do sleep 1; done;
gunicorn src.main:app --workers 1 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --log-level=debug --timeout=60"
gunicorn src.main:app --workers 1 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 --log-level=debug --timeout=60 --reload"
depends_on:
- {{ cookiecutter.db_container_name }}
environment:
Expand Down

0 comments on commit ba3d0c7

Please sign in to comment.