This commit is contained in:
Administrator 2022-08-22 14:55:59 +03:00
parent 32967b3ea9
commit 9e7c4345ed
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ services:
DB_HOST: "pg.develop.sprinthub.ru"
DB_PASSWORD: $DB_PASSWORD_DEV
DEBUG: "true"
command: ./manage.py runserver 0.0.0.0:8000
command: bash -c "./manage.py migrate && ./manage.py runserver 0.0.0.0:8000"
deploy:
mode: replicated
restart_policy:

View File

@ -27,7 +27,7 @@ services:
DB_HOST: "pg.develop.sprinthub.ru"
DB_PASSWORD: $DB_PASSWORD_DEV
DEBUG: "true"
command: ./manage.py runserver 0.0.0.0:8000
command: bash -c "./manage.py migrate && ./manage.py runserver 0.0.0.0:8000"
deploy:
mode: replicated
restart_policy: