From c93c238be2758e9ddaf7a8b5685f5488e0fc5e99 Mon Sep 17 00:00:00 2001 From: ajay Date: Fri, 7 Nov 2025 17:06:39 +0530 Subject: [PATCH] fix: secure deploy --- templates/compose/documenso.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/templates/compose/documenso.yaml b/templates/compose/documenso.yaml index 26baad6c2..87ed25c43 100644 --- a/templates/compose/documenso.yaml +++ b/templates/compose/documenso.yaml @@ -45,11 +45,10 @@ services: healthcheck: test: - CMD-SHELL - - "wget -q -O - http://localhost:3000/ | grep -q 'Sign in to your account' || exit 1" - interval: 10s - timeout: 5s - retries: 10 - start_period: 40s + - "wget -q -O - http://documenso:3000/ | grep -q 'Sign in to your account'" + interval: 2s + timeout: 10s + retries: 20 entrypoint: - /bin/sh - -c @@ -146,7 +145,6 @@ services: volumes: - documenso_postgresql_data:/var/lib/postgresql/data healthcheck: - test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-documenso} -d ${POSTGRES_DB:-documenso-db}"] - interval: 5s - timeout: 5s + test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"] + timeout: 20s retries: 10 \ No newline at end of file