File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,20 @@ services:
1717 backend :
1818 image : ${DOCKER_USERNAME}/${DOCKER_IMAGE_NAME}:latest
1919 container_name : backend
20+ volumes :
21+ - /home/ubuntu/app/secrets/firebase-credentials.json:/app/secrets/firebase-credentials.json:ro
2022 environment :
2123 - DJANGO_SETTINGS_MODULE=backend.settings.prod
2224 - MYSQL_DATABASE=${MYSQL_DATABASE}
2325 - MYSQL_USER=${MYSQL_USER}
2426 - MYSQL_PASSWORD=${MYSQL_PASSWORD}
27+ - SECRET_KEY=${SECRET_KEY}
28+ - GOOGLE_APPLICATION_CREDENTIALS=/app/secrets/firebase-credentials.json
29+ - AWS_ACCESS_KEY=${AWS_ACCESS_KEY}
30+ - AWS_SECRET_KEY=${AWS_SECRET_KEY}
31+ - AWS_S3_BUCKET_NAME=${AWS_S3_BUCKET_NAME}
32+ - AWS_S3_REGION=${AWS_S3_REGION}
33+
2534 command : >
2635 bash -c "python wait_mysql.py &&
2736 python manage.py migrate &&
You can’t perform that action at this time.
0 commit comments