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: