Files
ruz-bot/.deploy/deploy-prod.yaml
Egor Matveev 7448b4e0c6
All checks were successful
Deploy Dev / Build (pull_request) Successful in 20s
Deploy Dev / Push (pull_request) Successful in 9s
Deploy Dev / Deploy dev (pull_request) Successful in 17s
fix
2025-09-15 00:19:20 +03:00

90 lines
1.7 KiB
YAML

version: "3.4"
services:
worker:
image: mathwave/sprint-repo:ruz-bot
environment:
STAGE: "production"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
networks:
- queues
- configurator
- mongo
command: worker
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
fetch:
image: mathwave/sprint-repo:ruz-bot
environment:
STAGE: "production"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
DEBUG: "false"
networks:
- queues
- configurator
- mongo
command: fetch
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
notify:
image: mathwave/sprint-repo:ruz-bot
environment:
STAGE: "production"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
DEBUG: "false"
networks:
- queues
- configurator
- mongo
command: notify
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
ruz-bot-nginx:
image: mathwave/sprint-repo:ruz-bot
networks:
- common-infra-nginx
- configurator
- mongo
environment:
STAGE: "production"
MONGO_PASSWORD: $MONGO_PASSWORD_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
queues:
external: true
configurator:
external: true
mongo:
external: true