fix: secure deploy

This commit is contained in:
ajay 2025-11-07 17:06:39 +05:30
parent 87a97468c2
commit c93c238be2

View file

@ -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