locks/.deploy/deploy-prod.yaml
emmatveev 31d98b67cf
All checks were successful
Deploy Dev / Build (pull_request) Successful in 6s
Deploy Dev / Push (pull_request) Successful in 8s
Deploy Dev / Deploy dev (pull_request) Successful in 11s
fix
2024-12-02 21:41:37 +03:00

38 lines
729 B
YAML

version: "3.4"
services:
locks:
image: mathwave/sprint-repo:locks
networks:
- locks
command: api
environment:
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
cleaner:
image: mathwave/sprint-repo:locks
command: cleaner
environment:
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
networks:
locks:
external: true