Skip to content

Commit 78a34db

Browse files
committed
Fixed langfuse
1 parent f4d650b commit 78a34db

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

templates/compose/langfuse.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
# documentation: https://langfuse.com/docs
22
# slogan: Langfuse is an open-source LLM engineering platform that helps teams collaboratively debug, analyze, and iterate on their LLM applications.
3-
# tags: ai, qdrant, weaviate, langchain, openai, gpt, llm, lmops, langfuse, llmops
3+
# tags: ai, qdrant, weaviate, langchain, openai, gpt, llm, lmops, langfuse, llmops, tracing, observation, metrics
44
# logo: svgs/langfuse.png
55
# port: 3000
66

77
version: "3"
88

9+
volumes:
10+
pg_data: null
11+
912
services:
1013
langfuse:
1114
image: langfuse/langfuse:2
1215
restart: always
1316
environment:
17+
- SERVICE_FQDN_LANGFUSE_3000
1418
- DATABASE_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-langfuse}
15-
- NEXTAUTH_URL=$SERVICE_FQDN_LANGFUSE_3000
16-
- NEXTAUTH_SECRET=$NEXTAUTH_SECRET
19+
- DIRECT_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-langfuse}
1720
- SALT=$SERVICE_PASSWORD_SALT
1821
- AUTH_DISABLE_SIGNUP=${AUTH_DISABLE_SIGNUP:-false}
22+
- NEXTAUTH_URL=$SERVICE_FQDN_LANGFUSE_3000
23+
- NEXTAUTH_SECRET=$NEXTAUTH_SECRET
1924
- TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-false}
2025
- LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false}
21-
entrypoint:
22-
- node
23-
- web/server.js
2426
healthcheck:
2527
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/api/public/health"]
2628
interval: 5s
@@ -36,7 +38,7 @@ services:
3638
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
3739
- POSTGRES_USER=$SERVICE_USER_POSTGRES
3840
volumes:
39-
- "pg-data:/var/lib/postgresql/data"
41+
- "pg_data:/var/lib/postgresql/data"
4042
healthcheck:
4143
test:
4244
- CMD-SHELL

0 commit comments

Comments
 (0)