collect static

This commit is contained in:
Administrator 2022-08-19 14:47:15 +03:00
parent ba71a75b07
commit 58694188b8

View File

@ -41,6 +41,26 @@ services:
restart_policy:
condition: on-failure
collect_static:
image: mathwave/sprint-repo:sprint
command: ./manage.py collectstatic
networks:
- net
environment:
DB_HOST: "pg.develop.sprinthub.ru"
FS_HOST: "storage"
RABBIT_HOST: "rabbitmq.develop.sprinthub.ru"
REDIS_HOST: "redis.develop.sprinthub.ru"
RABBIT_PASSWORD: $RABBITMQ_PASSWORD_DEV
REDIS_PASSWORD: $REDIS_PASSWORD_DEV
DB_PASSWORD: $DB_PASSWORD_DEV
DEBUG: "true"
TELEGRAM_TOKEN: $TELEGRAM_TOKEN_DEV
deploy:
mode: replicated
restart_policy:
condition: on-failure
web:
image: mathwave/sprint-repo:sprint
networks: