Compare commits
5 Commits
3fa0b815f3
...
prod
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f3d785aec | |||
| f165ee6f30 | |||
| 8cdf0cbd8d | |||
| 6a1f2d3d09 | |||
| 2a1c13e351 |
@@ -21,7 +21,7 @@ services:
|
||||
networks:
|
||||
- b-jokes-net
|
||||
environment:
|
||||
MONGO_HOST: "mongo.develop.sprinthub.ru"
|
||||
MONGO_HOST: "mongo.dev.chocomarsh.com"
|
||||
MONGO_PASSWORD: $MONGO_PASSWORD_DEV
|
||||
command: api
|
||||
deploy:
|
||||
@@ -35,7 +35,7 @@ services:
|
||||
poll:
|
||||
image: mathwave/sprint-repo:b-jokes
|
||||
environment:
|
||||
MONGO_HOST: "mongo.develop.sprinthub.ru"
|
||||
MONGO_HOST: "mongo.dev.chocomarsh.com"
|
||||
MONGO_PASSWORD: $MONGO_PASSWORD_DEV
|
||||
command: poll
|
||||
deploy:
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
bot:
|
||||
image: mathwave/sprint-repo:b-jokes
|
||||
environment:
|
||||
MONGO_HOST: "mongo.develop.sprinthub.ru"
|
||||
MONGO_HOST: "mongo.dev.chocomarsh.com"
|
||||
MONGO_PASSWORD: $MONGO_PASSWORD_DEV
|
||||
STAGE: "development"
|
||||
command: bot
|
||||
|
||||
@@ -21,7 +21,7 @@ services:
|
||||
networks:
|
||||
- b-jokes-net
|
||||
environment:
|
||||
MONGO_HOST: "mongo.sprinthub.ru"
|
||||
MONGO_HOST: "mongo.chocomarsh.com"
|
||||
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
||||
DEBUG: "false"
|
||||
command: api
|
||||
@@ -36,7 +36,7 @@ services:
|
||||
poll:
|
||||
image: mathwave/sprint-repo:b-jokes
|
||||
environment:
|
||||
MONGO_HOST: "mongo.sprinthub.ru"
|
||||
MONGO_HOST: "mongo.chocomarsh.com"
|
||||
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
||||
DEBUG: "false"
|
||||
command: poll
|
||||
@@ -48,30 +48,8 @@ services:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
|
||||
bot:
|
||||
image: mathwave/sprint-repo:b-jokes
|
||||
environment:
|
||||
MONGO_HOST: "mongo.sprinthub.ru"
|
||||
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
||||
STAGE: "production"
|
||||
command: bot
|
||||
networks:
|
||||
- configurator
|
||||
- queues
|
||||
deploy:
|
||||
mode: replicated
|
||||
restart_policy:
|
||||
condition: any
|
||||
update_config:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
|
||||
networks:
|
||||
b-jokes-net:
|
||||
driver: overlay
|
||||
common-infra-nginx:
|
||||
external: true
|
||||
configurator:
|
||||
external: true
|
||||
queues:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user