From e3c3962d07fdd86c2b8a8c893467c5f721ebf91b Mon Sep 17 00:00:00 2001 From: ajay Date: Fri, 7 Nov 2025 17:08:01 +0530 Subject: [PATCH] fix: updated postgres --- templates/compose/documenso.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/compose/documenso.yaml b/templates/compose/documenso.yaml index 87ed25c43..5c1398db5 100644 --- a/templates/compose/documenso.yaml +++ b/templates/compose/documenso.yaml @@ -139,12 +139,13 @@ services: database: image: postgres:17 environment: - - POSTGRES_USER=${POSTGRES_USER:-documenso} - - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-PLACEHOLDER_PASSWORD} + - POSTGRES_USER=${SERVICE_USER_POSTGRES} + - POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES} - POSTGRES_DB=${POSTGRES_DB:-documenso-db} volumes: - documenso_postgresql_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"] + interval: 5s timeout: 20s retries: 10 \ No newline at end of file