Intigrate Langfuse in docker-compose.yaml #7481
FBR65
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Folks,
I've intigrated langfuse into the docker-compose.yaml like this:
langfuse-server:
image: langfuse/langfuse:2
restart: always
depends_on:
db:
condition: service_healthy
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgresql://${PGUSER:-postgres}:${POSTGRES_PASSWORD:-difyai123456}@db:5432/postgres
- NEXTAUTH_SECRET=mysecret
- SALT=mysalt
- ENCRYPTION_KEY=XXXXXXX # generate via
openssl rand -hex 32
- NEXTAUTH_URL=http://xxx.xxx.xxx.xxx:3000
- TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-true}
- LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false}
So you're be able to use langfuse with Dify out of the scratch.
I now have to figure out, how to send the model information (name) to langfuse.
Beta Was this translation helpful? Give feedback.
All reactions