diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index f521e80..0895ec6 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -50,3 +50,25 @@ services: update_config: parallelism: 1 order: start-first + + ruz-bot-nginx: + image: mathwave/sprint-repo:ruz-bot + networks: + - common-infra-nginx + environment: + MONGO_HOST: "mongo.sprinthub.ru" + MONGO_PASSWORD: $MONGO_PASSWORD_PROD + TELEGRAM_TOKEN: $TELEGRAM_TOKEN_PROD + DEBUG: "false" + command: api + deploy: + mode: replicated + restart_policy: + condition: any + update_config: + parallelism: 1 + order: start-first + +networks: + common-infra-nginx: + external: true \ No newline at end of file