Merge pull request 'master' (#16) from master into dev
Reviewed-on: #16
This commit is contained in:
commit
ad1a0aab30
@ -6,10 +6,9 @@ services:
|
|||||||
image: mathwave/sprint-repo:queues
|
image: mathwave/sprint-repo:queues
|
||||||
networks:
|
networks:
|
||||||
- queues-development
|
- queues-development
|
||||||
- queues-mongo-development
|
|
||||||
environment:
|
environment:
|
||||||
MONGO_HOST: "storage"
|
MONGO_HOST: "mongo.sprinthub.ru"
|
||||||
MONGO_PASSWORD: "password"
|
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
||||||
REDIS_HOST: "redis.develop.sprinthub.ru"
|
REDIS_HOST: "redis.develop.sprinthub.ru"
|
||||||
REDIS_PASSWORD: $REDIS_PASSWORD_DEV
|
REDIS_PASSWORD: $REDIS_PASSWORD_DEV
|
||||||
STAGE: "development"
|
STAGE: "development"
|
||||||
@ -21,27 +20,6 @@ services:
|
|||||||
parallelism: 1
|
parallelism: 1
|
||||||
order: start-first
|
order: start-first
|
||||||
|
|
||||||
storage:
|
|
||||||
image: mongo:6.0.2
|
|
||||||
networks:
|
|
||||||
- queues-mongo-development
|
|
||||||
volumes:
|
|
||||||
- /sprint-data/queues-mongo:/data/db
|
|
||||||
environment:
|
|
||||||
MONGO_INITDB_ROOT_USERNAME: mongo
|
|
||||||
MONGO_INITDB_ROOT_PASSWORD: password
|
|
||||||
deploy:
|
|
||||||
mode: replicated
|
|
||||||
restart_policy:
|
|
||||||
condition: any
|
|
||||||
placement:
|
|
||||||
constraints: [node.labels.stage == development]
|
|
||||||
update_config:
|
|
||||||
parallelism: 1
|
|
||||||
order: start-first
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
queues-development:
|
queues-development:
|
||||||
external: true
|
external: true
|
||||||
queues-mongo-development:
|
|
||||||
driver: overlay
|
|
||||||
|
@ -6,7 +6,6 @@ services:
|
|||||||
image: mathwave/sprint-repo:queues
|
image: mathwave/sprint-repo:queues
|
||||||
networks:
|
networks:
|
||||||
- queues
|
- queues
|
||||||
- queues-mongo-production
|
|
||||||
environment:
|
environment:
|
||||||
MONGO_HOST: "mongo.sprinthub.ru"
|
MONGO_HOST: "mongo.sprinthub.ru"
|
||||||
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
||||||
@ -21,27 +20,6 @@ services:
|
|||||||
parallelism: 1
|
parallelism: 1
|
||||||
order: start-first
|
order: start-first
|
||||||
|
|
||||||
storage:
|
|
||||||
image: mongo:6.0.2
|
|
||||||
networks:
|
|
||||||
- queues-mongo-production
|
|
||||||
volumes:
|
|
||||||
- /sprint-data/queues-mongo:/data/db
|
|
||||||
environment:
|
|
||||||
MONGO_INITDB_ROOT_USERNAME: mongo
|
|
||||||
MONGO_INITDB_ROOT_PASSWORD: password
|
|
||||||
deploy:
|
|
||||||
mode: replicated
|
|
||||||
restart_policy:
|
|
||||||
condition: any
|
|
||||||
placement:
|
|
||||||
constraints: [node.labels.stage == development]
|
|
||||||
update_config:
|
|
||||||
parallelism: 1
|
|
||||||
order: start-first
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
queues:
|
queues:
|
||||||
external: true
|
external: true
|
||||||
queues-mongo-production:
|
|
||||||
driver: overlay
|
|
||||||
|
Loading…
Reference in New Issue
Block a user