initial
Some checks failed
Deploy Dev / Push (pull_request) Has been cancelled
Deploy Dev / Deploy dev (pull_request) Has been cancelled
Deploy Dev / Build (pull_request) Has been cancelled

This commit is contained in:
Egor Matveev
2025-05-31 00:33:56 +03:00
commit 6ff0f5fd44
12 changed files with 515 additions and 0 deletions

45
.deploy/deploy-prod.yaml Normal file
View File

@@ -0,0 +1,45 @@
version: "3.4"
services:
worker:
image: mathwave/sprint-repo:pizda-bot
command: worker
environment:
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
STAGE: "production"
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
update_config:
parallelism: 1
order: start-first
networks:
common-infra-nginx:
external: true
queues:
external: true
configurator:
external: true