- compose file fixed;
This commit is contained in:
parent
c873e7dbe5
commit
1087de3a46
|
|
@ -15,11 +15,13 @@ services:
|
|||
POSTGRES_USER: "postgres"
|
||||
POSTGRES_PASSWORD: "postgres"
|
||||
volumes:
|
||||
- db:./postgres-data:/var/lib/postgresql/data
|
||||
- db-data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
healthcheck:
|
||||
test: [ "CMD", "pg_isready", "-q", "-d", "tickets", "-U", "postgres" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
retries: 5
|
||||
volume:
|
||||
db-data:
|
||||
Loading…
Reference in New Issue