From 58694188b8cfae284846eb788f1e864c06c21bac Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 19 Aug 2022 14:47:15 +0300 Subject: [PATCH] collect static --- .deploy/deploy-dev.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index 0904354..44b60e2 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -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: