Files
pizda-bot/.deploy/deploy-prod.yaml
emmatveev c5ff370f75
Some checks failed
Deploy Dev / Build (pull_request) Successful in 24s
Deploy Dev / Push (pull_request) Successful in 14s
Deploy Dev / Deploy dev (pull_request) Failing after 4s
Update .deploy/deploy-prod.yaml
2025-09-18 23:55:57 +03:00

50 lines
941 B
YAML

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