This commit is contained in:
Administrator 2022-08-20 18:32:10 +03:00
parent c057cfafe3
commit fee5f7c61a
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 runserver 0.0.0.0:8000 --noreload --insecure
command: ./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 runserver 0.0.0.0:8000 --noreload
command: ./manage.py collectstatic --noinput && ./manage.py runserver 0.0.0.0:8000 --noreload --insecure
deploy:
mode: replicated
replicas: 1