b-jokes/.deploy/deploy-prod.yaml
Egor Matveev d806cd89c0
Some checks failed
Deploy Dev / Build (pull_request) Successful in 1m12s
Deploy Dev / Push (pull_request) Successful in 21s
Deploy Dev / Deploy dev (pull_request) Failing after 3s
Merge branch 'master' of https://gitea.sprinthub.ru/self/b-jokes
2025-07-08 01:14:09 +04:00

77 lines
1.5 KiB
YAML

version: "3.4"
services:
b-jokes-nginx:
image: mathwave/sprint-repo:b-jokes-nginx
networks:
- b-jokes-net
- common-infra-nginx
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
api:
image: mathwave/sprint-repo:b-jokes
networks:
- b-jokes-net
environment:
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
DEBUG: "false"
command: api
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
poll:
image: mathwave/sprint-repo:b-jokes
environment:
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
DEBUG: "false"
command: poll
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
bot:
image: mathwave/sprint-repo:b-jokes
environment:
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
command: bot
networks:
- configurator
- queues
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
networks:
b-jokes-net:
driver: overlay
common-infra-nginx:
external: true
configurator:
external: true
queues:
external: true