All checks were successful
Deploy Dev / Build (pull_request) Successful in 4s
Deploy Dev / Push (pull_request) Successful in 7s
Deploy Dev / Deploy dev (pull_request) Successful in 10s
Deploy Prod / Build (pull_request) Successful in 5s
Deploy Prod / Push (pull_request) Successful in 7s
Deploy Prod / Deploy prod (pull_request) Successful in 10s
47 lines
967 B
YAML
47 lines
967 B
YAML
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"
|
|
PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN
|
|
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
|