1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-08 22:27:53 +02:00

add langfuse

This commit is contained in:
kev
2025-03-06 18:42:29 +08:00
parent 39533fcad4
commit b5207e9a83
3 changed files with 41 additions and 0 deletions

View File

@ -413,6 +413,7 @@ A collection of delicious docker recipes.
- [x] devopsfaith/krakend
- [x] ipfs/kubo
- [x] heartexlabs/label-studio
- [x] langfuse/langfuse
- [x] martialblog/limesurvey
- [x] linuxserver
- [x] airsonic :musical_note:

8
langfuse/README.md Normal file
View File

@ -0,0 +1,8 @@
langfuse
========
[Langfuse][1] is an open source LLM engineering platform. It helps teams
collaboratively develop, monitor, evaluate, and debug AI applications. Langfuse
can be self-hosted in minutes and is battle-tested.
[1]: https://github.com/langfuse/langfuse

View File

@ -0,0 +1,32 @@
#
# https://langfuse.com/self-hosting/docker-compose
#
service:
langfuse:
image: langfuse/langfuse:3
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- DATABASE_URL=postgresql://langfuse:langfuse@postgres:5432/langfuse
- NEXTAUTH_SECRET=****** # openssl rand -base64 32
- ENCRYPTION_KEY=****** # openssl rand -hex 32
- SALT=****** # openssl rand -hex 16
- NEXTAUTH_URL=http://localhost:3000
- TELEMETRY_ENABLED=false
- NEXT_PUBLIC_SIGN_UP_DISABLED=true
- LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=false
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:17-alpine
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=langfuse
- POSTGRES_PASSWORD=langfuse
- POSTGRES_DB=langfuse
restart: unless-stopped