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.

Fixed langfuse

Alex Renoki78a34dbef11c
diff --git a/templates/compose/langfuse.yaml b/templates/compose/langfuse.yaml
index 400e6ec753..81b74eae10 100644
--- a/templates/compose/langfuse.yaml
+++ b/templates/compose/langfuse.yaml
@@ -1,26 +1,28 @@
# documentation: https://langfuse.com/docs
# slogan: Langfuse is an open-source LLM engineering platform that helps teams collaboratively debug, analyze, and iterate on their LLM applications.
-# tags: ai, qdrant, weaviate, langchain, openai, gpt, llm, lmops, langfuse, llmops
+# tags: ai, qdrant, weaviate, langchain, openai, gpt, llm, lmops, langfuse, llmops, tracing, observation, metrics
# logo: svgs/langfuse.png
# port: 3000
version: "3"
+volumes:
+ pg_data: null
+
services:
langfuse:
image: langfuse/langfuse:2
restart: always
environment:
+ - SERVICE_FQDN_LANGFUSE_3000
- DATABASE_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-langfuse}
- - NEXTAUTH_URL=$SERVICE_FQDN_LANGFUSE_3000
- - NEXTAUTH_SECRET=$NEXTAUTH_SECRET
+ - DIRECT_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-langfuse}
- SALT=$SERVICE_PASSWORD_SALT
- AUTH_DISABLE_SIGNUP=${AUTH_DISABLE_SIGNUP:-false}
+ - NEXTAUTH_URL=$SERVICE_FQDN_LANGFUSE_3000
+ - NEXTAUTH_SECRET=$NEXTAUTH_SECRET
- TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-false}
- LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false}
- entrypoint:
- - node
- - web/server.js
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/api/public/health"]
interval: 5s
@@ -36,7 +38,7 @@ services:
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- POSTGRES_USER=$SERVICE_USER_POSTGRES
volumes:
- - "pg-data:/var/lib/postgresql/data"
+ - "pg_data:/var/lib/postgresql/data"
healthcheck:
test:
- CMD-SHELL