postgres
This commit is contained in:
parent
20a21efaaf
commit
24a1129709
@ -22,28 +22,6 @@ services:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
|
||||
postgres:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: $DB_PASSWORD
|
||||
POSTGRES_DB: sprint
|
||||
volumes:
|
||||
- /sprint-data/postgres-data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- net
|
||||
ports:
|
||||
- "5432:5432"
|
||||
deploy:
|
||||
mode: replicated
|
||||
restart_policy:
|
||||
condition: any
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
update_config:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:3.7.9-management
|
||||
networks:
|
||||
|
Loading…
Reference in New Issue
Block a user