forked from extern/docker
parent
fcccf8145e
commit
bff48cdb07
@ -311,6 +311,11 @@ services:
|
||||
POSTGRES_DB: greenlight
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: password
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
volumes:
|
||||
- ./postgres-data:/var/lib/postgresql/data
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user