Fixed langfuse

This commit is contained in:
Alex Renoki
2024-10-04 07:21:20 +03:00
parent f4d650b03f
commit 78a34dbef1

View File

@@ -1,26 +1,28 @@
# documentation: https://langfuse.com/docs # 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. # 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 # logo: svgs/langfuse.png
# port: 3000 # port: 3000
version: "3" version: "3"
volumes:
pg_data: null
services: services:
langfuse: langfuse:
image: langfuse/langfuse:2 image: langfuse/langfuse:2
restart: always restart: always
environment: environment:
- SERVICE_FQDN_LANGFUSE_3000
- DATABASE_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-langfuse} - DATABASE_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-langfuse}
- NEXTAUTH_URL=$SERVICE_FQDN_LANGFUSE_3000 - DIRECT_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-langfuse}
- NEXTAUTH_SECRET=$NEXTAUTH_SECRET
- SALT=$SERVICE_PASSWORD_SALT - SALT=$SERVICE_PASSWORD_SALT
- AUTH_DISABLE_SIGNUP=${AUTH_DISABLE_SIGNUP:-false} - AUTH_DISABLE_SIGNUP=${AUTH_DISABLE_SIGNUP:-false}
- NEXTAUTH_URL=$SERVICE_FQDN_LANGFUSE_3000
- NEXTAUTH_SECRET=$NEXTAUTH_SECRET
- TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-false} - TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-false}
- LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false} - LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false}
entrypoint:
- node
- web/server.js
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/api/public/health"] test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/api/public/health"]
interval: 5s interval: 5s
@@ -36,7 +38,7 @@ services:
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- POSTGRES_USER=$SERVICE_USER_POSTGRES - POSTGRES_USER=$SERVICE_USER_POSTGRES
volumes: volumes:
- "pg-data:/var/lib/postgresql/data" - "pg_data:/var/lib/postgresql/data"
healthcheck: healthcheck:
test: test:
- CMD-SHELL - CMD-SHELL