queues-go/.deploy/deploy-prod.yaml
Egor Matveev f4e5bc107d fix
2025-01-06 16:46:41 +03:00

29 lines
582 B
YAML

version: "3.4"
services:
queues:
image: mathwave/sprint-repo:queues
networks:
- queues
- queues-mongo-production
environment:
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
REDIS_HOST: "redis.sprinthub.ru"
REDIS_PASSWORD: $REDIS_PASSWORD_PROD
STAGE: "production"
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
networks:
queues:
external: true
queues-mongo-production:
driver: overlay