From 4a98490db30ab5b44aa1d40afe683ee9a36f6b23 Mon Sep 17 00:00:00 2001 From: Ronit Panda Date: Fri, 20 Oct 2023 07:22:36 +0530 Subject: [PATCH] fix: error connecting to pg engine --- packages/prisma/docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/prisma/docker-compose.yml b/packages/prisma/docker-compose.yml index 7e1ec1e6e3..1d8a6cee77 100644 --- a/packages/prisma/docker-compose.yml +++ b/packages/prisma/docker-compose.yml @@ -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