fix: error connecting to pg engine

pull/12010/head
Ronit Panda 2023-10-20 07:22:36 +05:30
parent 2550485c49
commit 4a98490db3
1 changed files with 2 additions and 1 deletions

View File

@ -12,9 +12,10 @@ services:
environment:
POSTGRES_DB: "cal-saml"
POSTGRES_PASSWORD: ""
POSTGRES_USER: "postgres"
POSTGRES_HOST_AUTH_METHOD: trust
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
test: pg_isready -U $$POSTGRES_USER
interval: 10s
timeout: 5s
retries: 5