Skip to content

Commit 614bbde

Browse files
committed
Add CELERY_BROKER_URL to api service
1 parent 679d2d0 commit 614bbde

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker-compose-dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ services:
44
command: "poetry run python3 /api/manage.py runserver 0.0.0.0:8000"
55
env_file:
66
- .env
7+
environment:
8+
- CELERY_BROKER_URL=amqp://guest:guest@broker:5672
79
ports:
810
- 8000:8000
911
volumes:

docker-compose-prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ services:
33
image: ${account_id}.dkr.ecr.us-west-1.amazonaws.com/go-capture:${image_hash}
44
env_file:
55
- .env
6+
environment:
7+
- CELERY_BROKER_URL=amqp://guest:guest@broker:5672
68
ports:
79
- 8000:8000
810
worker:

0 commit comments

Comments
 (0)