Back to templates
Langfuse icon

Deploy Langfuse on Sealos

Open-source LLM engineering platform for tracing, prompt management, evaluation, and observability.

AI
Launch a private Langfuse AI workspace with one-click deployment.Keep models, prompts, and workflow data in your own Sealos environment.Scale GPU or CPU resources as your AI workload grows.Use an open-source template without managing Kubernetes YAML.

Why deploy on Sealos

Sealos makes deploying any app effortless, secure, and production-ready. From one-click launch to ongoing operations, we handle the heavy lifting so you can focus on what matters.

One-Click Deploy
Sealos logo
Compute
Networking
Storage
Security
Observability
Your Application is Live

One-Click Deployment

Deploy any app template in seconds. No compose setup, manual configure, and go live.

Managed Kubernetes Reliability

Built on Sealos Managed Kubernetes for high availability, auto-scaling, and self-healing by default.

Automatic HTTPS & Security

Every deployment includes a secure domain with automatic SSL. We handle certificates and text protection for you.

Persistent Storage

Attach persistent volumes with ease. Your data stays safe, durable, and always accessible.

Scale when needed

Adjust resources as your app grows, no downtime required.

You Get the Whole Stack

Sealos provisions and connects every resource your application needs. Everything is ready to use.

One-click, fully provisionedSecure by defaultProduction ready

App Service

Your application is running and ready to serve requests.

Public HTTPS URL

Secure, global endpoint to access your application.

Database

Managed database instance for your application.

Persistent Volume

Durable storage for uploads and application data.

Environment Variables

Configuration and secrets injected securely into your app.

Logs & Metrics

Centralized logs and basic metrics are enabled.

README

README.md

Deploy and Host Langfuse on Sealos

Langfuse is an open-source LLM engineering platform for tracing, prompt management, evaluations, and observability. This template deploys Langfuse with PostgreSQL, Redis, ClickHouse, worker processing, and conditional S3-compatible object storage on Sealos Cloud.

Application Screenshot

About Hosting Langfuse

Langfuse runs as a multi-service observability system. The web service handles the dashboard, API, authentication, and initialization, while the worker service processes background ingestion and analytics jobs.

The template provisions PostgreSQL 16.4.0 and Redis 7.2.7 through KubeBlocks. It also deploys a persistent ClickHouse instance for high-volume event data and lets you choose Sealos S3-compatible object storage for event and media blobs.

Common Use Cases

  • LLM tracing: Capture traces, spans, generations, scores, and metadata from AI applications.
  • Prompt management: Version prompts and coordinate experiments across teams.
  • Evaluations: Run human and automated evaluations against production traces.
  • Observability: Monitor latency, cost, quality, and model behavior from one dashboard.

Dependencies for Langfuse Hosting

The Sealos template includes all required runtime dependencies: Langfuse web, Langfuse worker, PostgreSQL, Redis, ClickHouse, conditional S3-compatible object storage, internal Services, and HTTPS ingress.

Deployment Dependencies

Implementation Details

Architecture Components:

  • Langfuse Web: Uses docker.io/langfuse/langfuse:3.180.0 and exposes the dashboard and API on port 3000.
  • Langfuse Worker: Uses docker.io/langfuse/langfuse-worker:3.180.0 for background ingestion and queue processing.
  • PostgreSQL: KubeBlocks PostgreSQL postgresql-16.4.0 for relational metadata.
  • Redis: KubeBlocks Redis 7.2.7 for queues and caching.
  • ClickHouse: Stateful analytics store using clickhouse/clickhouse-server:25.4.2.
  • Object Storage: Conditional S3-compatible storage for event and media blobs. With use_object_storage=true, the template uses a Sealos ObjectStorageBucket. With it disabled, the template deploys a private MinIO service. Batch exports remain disabled by default.

Configuration:

The template generates salts, encryption keys, NextAuth secret, ClickHouse password, MinIO credentials, and the bootstrap organization identifiers. You can optionally set init_user_email, init_user_name, and init_user_password to bootstrap the first Langfuse user as the owner of the generated organization.

License Information:

Langfuse core product capabilities are MIT licensed. Enterprise modules such as SCIM, audit logging, and data retention policies require a commercial license when self-hosted.

Why Deploy Langfuse on Sealos?

Sealos is an AI-assisted Cloud Operating System built on Kubernetes that unifies the entire application lifecycle, from development in cloud IDEs to production deployment and management. It is perfect for building and scaling modern AI applications, SaaS platforms, and complex microservice architectures. By deploying Langfuse on Sealos, you get:

  • One-Click Deployment: Deploy the full Langfuse stack with databases and storage in one flow.
  • Auto-Scaling Built-In: Adjust web and worker resources as tracing traffic grows.
  • Easy Customization: Configure bootstrap users, object storage, and resource limits from the Sealos UI.
  • Zero Kubernetes Expertise Required: Run PostgreSQL, Redis, ClickHouse, workers, and ingress without managing Kubernetes manually.
  • Persistent Storage Included: Keep metadata, analytics data, and uploaded blobs available across restarts.
  • Instant Public Access: Get a public HTTPS dashboard URL automatically.

Deploy Langfuse on Sealos and focus on improving AI applications instead of operating observability infrastructure.

Deployment Guide

  1. Open the Langfuse template and click Deploy Now.
  2. Configure the parameters in the popup dialog.
  3. Wait for deployment to complete. This typically takes 2-3 minutes. After deployment, you will be redirected to the Canvas. For later changes, describe your requirements in the dialog to let AI apply updates, or click the relevant resource cards to modify settings.
  4. Access your application via the provided URL:
    • Langfuse Dashboard: Log in with the bootstrap user if you configured one, or use the Langfuse sign-up flow on the first visit.

Configuration

Initial user creation is controlled by init_user_email, init_user_name, and init_user_password. When these values are set, the template also creates the required Langfuse organization automatically. Leave them empty to use the interactive sign-up flow.

The use_object_storage option controls blob storage:

  • true: Use Sealos S3-compatible object storage for Langfuse event and media blobs.
  • false: Deploy the included MinIO service and store blobs in a template-managed persistent volume.

Scaling

Langfuse includes separate web, worker, ClickHouse, PostgreSQL, and Redis components. Scale workers first when ingestion latency grows, then increase web resources for dashboard/API traffic and ClickHouse resources for analytics query volume.

Troubleshooting

Langfuse web starts slowly

  • Cause: The web service waits for PostgreSQL, Redis, ClickHouse, and storage configuration.
  • Solution: Check the database clusters, ClickHouse StatefulSet, object storage path, and worker logs from the Canvas.

File or media uploads fail

  • Cause: S3 endpoint or bucket credentials are unavailable.
  • Solution: Confirm the selected object storage mode and inspect either the Sealos ObjectStorageBucket resources or the MinIO StatefulSet.

Additional Resources

License

This Sealos template is provided under the repository license. Langfuse core product capabilities are MIT licensed, and selected enterprise modules require an upstream commercial license when self-hosted.

Related templates

Explore more production-ready templates.

More

Ready to Stop Configuring and
Start Creating?

Get started for free. No credit card required.

Play