Skip to content

Commit 66c2f9a

Browse files
committed
Hard code FIREBASE_CREDENTIALS_FILE and MEDIA_ROOT in compose file
These will be the same in every instance of the services.
1 parent 1d21f89 commit 66c2f9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose-dev.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ services:
66
- env/dev.env
77
environment:
88
- CELERY_BROKER_URL=amqp://guest:guest@broker:5672
9+
- FIREBASE_CREDENTIALS_FILE=/run/secrets/firebase-credentials
10+
- MEDIA_ROOT=/api/media
911
ports:
1012
- 8000:8000
1113
secrets:
@@ -20,6 +22,8 @@ services:
2022
environment:
2123
- CELERY_BROKER_URL=amqp://guest:guest@broker:5672
2224
- CELERY_RESULT_BACKEND=rpc
25+
- FIREBASE_CREDENTIALS_FILE=/run/secrets/firebase-credentials
26+
- MEDIA_ROOT=/api/media
2327
env_file:
2428
- env/dev.env
2529
secrets:

0 commit comments

Comments
 (0)