Update docker-compose.yml

This commit is contained in:
Aykhan Shahsuvarov 2023-03-06 02:22:20 -05:00 committed by GitHub
parent 4349f26d91
commit e1e6e12980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,8 @@ services:
dockerfile: Docker/Prod/Dockerfile
command: >
bash -c "cd src
&& python3 manage.py makemigrations
&& python3 manage.py makemigrations account
&& python3 manage.py makemigrations series
&& echo '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemigrations completed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
&& python3 manage.py migrate
&& echo '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ migrate completed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
@ -85,4 +86,4 @@ services:
#TODO: add volume for celery logs
volumes:
dbdata:
static_volume:
static_volume: