fix: error connecting to pg engine
parent
2550485c49
commit
4a98490db3
|
@ -12,9 +12,10 @@ services:
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: "cal-saml"
|
POSTGRES_DB: "cal-saml"
|
||||||
POSTGRES_PASSWORD: ""
|
POSTGRES_PASSWORD: ""
|
||||||
|
POSTGRES_USER: "postgres"
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready"]
|
test: pg_isready -U $$POSTGRES_USER
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
Loading…
Reference in New Issue