Compare commits
No commits in common. "ad1a0aab30f67e7cbd57286c7a844faf7fffb723" and "7a3e65d109c6bd5af87e401c2d2d3be1630a0f18" have entirely different histories.
ad1a0aab30
...
7a3e65d109
@ -6,9 +6,10 @@ services:
|
|||||||
image: mathwave/sprint-repo:queues
|
image: mathwave/sprint-repo:queues
|
||||||
networks:
|
networks:
|
||||||
- queues-development
|
- queues-development
|
||||||
|
- queues-mongo-development
|
||||||
environment:
|
environment:
|
||||||
MONGO_HOST: "mongo.sprinthub.ru"
|
MONGO_HOST: "storage"
|
||||||
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
MONGO_PASSWORD: "password"
|
||||||
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"
|
||||||
@ -20,6 +21,27 @@ 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,6 +6,7 @@ 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
|
||||||
@ -20,6 +21,27 @@ 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