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: added healthcheck for gotenberg template

Khiet Tam Nguyene16e6e0a743f
diff --git a/templates/compose/gotenberg.yaml b/templates/compose/gotenberg.yaml
index 8f53e2b174..d93b175aec 100644
--- a/templates/compose/gotenberg.yaml
+++ b/templates/compose/gotenberg.yaml
@@ -22,4 +22,9 @@ services:
#"--api-timeout=60s",
#"--chromium-auto-start"
]
- restart: unless-stopped
\ No newline at end of file
+ restart: unless-stopped
+ healthcheck:
+ test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/version"]
+ interval: 5s
+ timeout: 20s
+ retries: 10