add stats

This commit is contained in:
Administrator
2023-11-12 17:59:22 +03:00
parent c3b189c57b
commit 0ba5ef0789
4 changed files with 71 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ services:
bot:
image: mathwave/sprint-repo:pizda-bot
command: bot
environment:
TELEGRAM_TOKEN: $TELEGRAM_TOKEN_PROD
MONGO_HOST: "mongo.sprinthub.ru"
@@ -18,3 +19,26 @@ services:
update_config:
parallelism: 1
order: start-first
pizda-bot-nginx:
image: mathwave/sprint-repo:pizda-bot
command: api
environment:
TELEGRAM_TOKEN: $TELEGRAM_TOKEN_PROD
MONGO_HOST: "mongo.sprinthub.ru"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN
STAGE: "production"
networks:
- common-infra-nginx
deploy:
mode: replicated
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
networks:
common-infra-nginx:
external: true