diff --git a/README.md b/README.md index 2acace5..0bf7e8c 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/langfuse/README.md b/langfuse/README.md new file mode 100644 index 0000000..1bc6ddc --- /dev/null +++ b/langfuse/README.md @@ -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 diff --git a/langfuse/docker-compose.yml b/langfuse/docker-compose.yml new file mode 100644 index 0000000..7fc8090 --- /dev/null +++ b/langfuse/docker-compose.yml @@ -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