fix
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

This commit is contained in:
Egor Matveev
2025-06-03 22:43:30 +03:00
parent 21d1008abe
commit d1d23165fa
4 changed files with 27 additions and 28 deletions

View File

@@ -2,44 +2,29 @@ version: "3.4"
services:
worker:
image: mathwave/sprint-repo:pizda-bot
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:
- queues
- configurator
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.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
networks:
- common-infra-nginx
deploy:
mode: replicated
restart_policy:
condition: any
placement:
constraints: [node.labels.stage == production]
update_config:
parallelism: 1
order: start-first
networks:
common-infra-nginx:
external: true
queues:
external: true
configurator:
external: true