Skip to content

Commit

Permalink
Automatically reload whenever the code is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosribas committed Jul 23, 2024
1 parent 9f3b9de commit 34861cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ services:
context: .
args:
DEV: ${DEV}
command: uvicorn app.main:app --host 0.0.0.0 --port 8000
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
volumes:
- .:/app
- .:/srv/rnacentral-export
- results:/srv/results
- logs:/srv/logs
ports:
Expand All @@ -28,7 +28,7 @@ services:
DEV: ${DEV}
command: celery -A app.celery.celery_app worker --loglevel=info --logfile=/srv/logs/export.log
volumes:
- .:/app
- .:/srv/rnacentral-export
- results:/srv/results
- logs:/srv/logs
depends_on:
Expand Down

0 comments on commit 34861cd

Please sign in to comment.