File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
services :
2
2
api :
3
3
build : .
4
- command : " poetry run python3 /api/manage.py runserver 0.0.0.0: 8000"
4
+ command : " poetry run uvicorn main:app --host 0.0.0.0 --port 8000"
5
5
env_file :
6
6
- env/dev.env
7
7
environment :
@@ -16,7 +16,7 @@ services:
16
16
- .:/api
17
17
worker :
18
18
build : .
19
- command : " poetry run celery -A go_capture. tasks worker"
19
+ command : " poetry run celery -A tasks worker"
20
20
depends_on :
21
21
- broker
22
22
environment :
Original file line number Diff line number Diff line change 1
1
services :
2
2
api :
3
- command : " poetry run gunicorn go_capture.wsgi:application --bind 0.0.0.0:8000 -t 60 "
3
+ command : " poetry run uvicorn main:app --host 0.0.0.0 --port 8000 "
4
4
environment :
5
5
- CELERY_BROKER_URL=amqp://guest:guest@broker:5672
6
6
- FIREBASE_CREDENTIALS_FILE=/run/secrets/firebase-credentials
@@ -15,7 +15,7 @@ services:
15
15
volumes :
16
16
- media:/api/media
17
17
worker :
18
- command : " poetry run celery -A go_capture. tasks worker"
18
+ command : " poetry run celery -A tasks worker"
19
19
depends_on :
20
20
- broker
21
21
environment :
You can’t perform that action at this time.
0 commit comments