This commit is contained in:
Administrator 2022-08-20 18:36:26 +03:00
parent fee5f7c61a
commit c43cf363d5
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ services:
DB_PASSWORD: $DB_PASSWORD_DEV
DEBUG: "true"
TELEGRAM_TOKEN: $TELEGRAM_TOKEN_DEV
command: ./manage.py collectstatic --noinput && ./manage.py runserver 0.0.0.0:8000 --noreload --insecure
command: sh -c "./manage.py collectstatic --noinput && ./manage.py runserver 0.0.0.0:8000 --noreload --insecure"
deploy:
mode: replicated
restart_policy:

View File

@ -108,7 +108,7 @@ services:
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
VK_SERVICE_TOKEN: $VK_SERVICE_TOKEN
SENTRY_TOKEN: $SENTRY_TOKEN
command: ./manage.py collectstatic --noinput && ./manage.py runserver 0.0.0.0:8000 --noreload --insecure
command: sh -c "./manage.py collectstatic --noinput && ./manage.py runserver 0.0.0.0:8000 --noreload --insecure"
deploy:
mode: replicated
replicas: 1