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.

feat(service): add healthcheck to langfuse-worker

Gauthier POGAM--LE MONTAGNERf77fd2161ce5
diff --git a/templates/compose/langfuse.yaml b/templates/compose/langfuse.yaml
index b617cec5ca..78260012d5 100644
--- a/templates/compose/langfuse.yaml
+++ b/templates/compose/langfuse.yaml
@@ -88,6 +88,11 @@ services:
environment:
<<: *app-env
depends_on: *langfuse-depends-on
+ healthcheck:
+ test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3030/api/health"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
postgres:
image: postgres:17-alpine