Update docker-compose-deploy.yaml
This commit is contained in:
parent
70f1e77b83
commit
39dd2bcfda
@ -12,6 +12,21 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /sprint-data/postgres-data:/var/lib/postgresql/data
|
- /sprint-data/postgres-data:/var/lib/postgresql/data
|
||||||
# - ./pg_hba.conf:/var/lib/postgresql/data/pg_hba.conf
|
# - ./pg_hba.conf:/var/lib/postgresql/data/pg_hba.conf
|
||||||
|
networks:
|
||||||
|
- net
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
restart_policy:
|
||||||
|
condition: always
|
||||||
|
update_config:
|
||||||
|
parallelism: 1
|
||||||
|
order: start-first
|
||||||
|
|
||||||
|
rabbitmq:
|
||||||
|
image: rabbitmq:3.7.9-management
|
||||||
|
ports:
|
||||||
|
- "15672:15672"
|
||||||
|
- "5672:5672"
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
deploy:
|
deploy:
|
||||||
@ -150,21 +165,6 @@ services:
|
|||||||
parallelism: 1
|
parallelism: 1
|
||||||
order: stop-first
|
order: stop-first
|
||||||
|
|
||||||
rabbitmq:
|
|
||||||
image: rabbitmq:3.7.9-management
|
|
||||||
ports:
|
|
||||||
- "15672:15672"
|
|
||||||
- "5672:5672"
|
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
deploy:
|
|
||||||
mode: replicated
|
|
||||||
restart_policy:
|
|
||||||
condition: on-failure
|
|
||||||
update_config:
|
|
||||||
parallelism: 1
|
|
||||||
order: start-first
|
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user