certupdater/.deploy/deploy-prod.yaml
Egor Matveev d1d23165fa
All checks were successful
Deploy Dev / Build (pull_request) Successful in 5s
Deploy Dev / Push (pull_request) Successful in 10s
Deploy Dev / Deploy dev (pull_request) Successful in 9s
fix
2025-06-03 22:43:30 +03:00

31 lines
684 B
YAML

version: "3.4"
services:
certupdater:
image: mathwave/sprint-repo:certupdater
command: worker
environment:
MINIO_HOST: "minio.sprinthub.ru"
MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
STAGE: "production"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- configurator
deploy:
mode: replicated
restart_policy:
condition: any
placement:
constraints: [node.labels.stage == production]
update_config:
parallelism: 1
order: start-first
networks:
configurator:
external: true