Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: secure deploy

ajayc93c238be275
diff --git a/templates/compose/documenso.yaml b/templates/compose/documenso.yaml
index 26baad6c2e..87ed25c434 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