Merge pull request 'master' (#49) from master into prod

Reviewed-on: #49
This commit is contained in:
2025-09-19 00:02:29 +03:00
2 changed files with 12 additions and 4 deletions

View File

@@ -6,12 +6,13 @@ services:
image: mathwave/sprint-repo:pizda-bot image: mathwave/sprint-repo:pizda-bot
command: worker command: worker
environment: environment:
MONGO_HOST: "mongo.develop.sprinthub.ru" MONGO_HOST: "mongo"
MONGO_PASSWORD: $MONGO_PASSWORD_DEV MONGO_PASSWORD: $MONGO_PASSWORD_DEV
STAGE: "development" STAGE: "development"
networks: networks:
- queues-development - queues-development
- configurator - configurator
- mongo-development
deploy: deploy:
mode: replicated mode: replicated
restart_policy: restart_policy:
@@ -24,11 +25,12 @@ services:
image: mathwave/sprint-repo:pizda-bot image: mathwave/sprint-repo:pizda-bot
command: api command: api
environment: environment:
MONGO_HOST: "mongo.develop.sprinthub.ru" MONGO_HOST: "mongo"
MONGO_PASSWORD: $MONGO_PASSWORD_DEV MONGO_PASSWORD: $MONGO_PASSWORD_DEV
STAGE: "development" STAGE: "development"
networks: networks:
- common-infra-nginx-development - common-infra-nginx-development
- mongo-development
deploy: deploy:
mode: replicated mode: replicated
restart_policy: restart_policy:
@@ -44,3 +46,5 @@ networks:
external: true external: true
configurator: configurator:
external: true external: true
mongo-development:
external: true

View File

@@ -6,12 +6,13 @@ services:
image: mathwave/sprint-repo:pizda-bot image: mathwave/sprint-repo:pizda-bot
command: worker command: worker
environment: environment:
MONGO_HOST: "mongo.sprinthub.ru" MONGO_HOST: "mongo"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD MONGO_PASSWORD: $MONGO_PASSWORD_PROD
STAGE: "production" STAGE: "production"
networks: networks:
- queues - queues
- configurator - configurator
- mongo
deploy: deploy:
mode: replicated mode: replicated
restart_policy: restart_policy:
@@ -24,10 +25,11 @@ services:
image: mathwave/sprint-repo:pizda-bot image: mathwave/sprint-repo:pizda-bot
command: api command: api
environment: environment:
MONGO_HOST: "mongo.sprinthub.ru" MONGO_HOST: "mongo"
MONGO_PASSWORD: $MONGO_PASSWORD_PROD MONGO_PASSWORD: $MONGO_PASSWORD_PROD
networks: networks:
- common-infra-nginx - common-infra-nginx
- mongo
deploy: deploy:
mode: replicated mode: replicated
restart_policy: restart_policy:
@@ -43,3 +45,5 @@ networks:
external: true external: true
configurator: configurator:
external: true external: true
mongo:
external: true