1
1
# documentation: https://langfuse.com/docs
2
2
# 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
4
4
# logo: svgs/langfuse.png
5
5
# port: 3000
6
6
7
7
version : " 3"
8
8
9
+ volumes :
10
+ pg_data : null
11
+
9
12
services :
10
13
langfuse :
11
14
image : langfuse/langfuse:2
12
15
restart : always
13
16
environment :
17
+ - SERVICE_FQDN_LANGFUSE_3000
14
18
- 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}
17
20
- SALT=$SERVICE_PASSWORD_SALT
18
21
- AUTH_DISABLE_SIGNUP=${AUTH_DISABLE_SIGNUP:-false}
22
+ - NEXTAUTH_URL=$SERVICE_FQDN_LANGFUSE_3000
23
+ - NEXTAUTH_SECRET=$NEXTAUTH_SECRET
19
24
- TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-false}
20
25
- LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false}
21
- entrypoint :
22
- - node
23
- - web/server.js
24
26
healthcheck :
25
27
test : ["CMD", "curl", "-f", "http://127.0.0.1:3000/api/public/health"]
26
28
interval : 5s
@@ -36,7 +38,7 @@ services:
36
38
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
37
39
- POSTGRES_USER=$SERVICE_USER_POSTGRES
38
40
volumes :
39
- - " pg-data :/var/lib/postgresql/data"
41
+ - " pg_data :/var/lib/postgresql/data"
40
42
healthcheck :
41
43
test :
42
44
- CMD-SHELL
0 commit comments