Railway

Deploy Langfuse Lite (Auto-Updated)

Just 3 services + a bucket instead of 6. Pre-prod LLM observability.

Deploy Langfuse Lite (Auto-Updated)

/var/lib/clickhouse

/var/lib/postgresql/data

Storage

Bucket

Just deployed

Deploy and Host Langfuse Lite on Railway

Langfuse is an open-source LLM engineering platform: tracing, evals, prompt management, and metrics. Langfuse Lite deploys it in just 3 services plus a storage bucket, about half the footprint of a full production topology, for pre-production environments where cost matters more than high availability. This is an unofficial community template, not affiliated with Langfuse GmbH.

About Hosting Langfuse Lite

A full Langfuse self-host needs six components: web app, worker, Postgres, ClickHouse, Redis, and S3-compatible blob storage. Langfuse Lite keeps all six functions but co-locates web, worker, and Redis in a single container. Postgres runs Railway's own postgres-ssl image with a volume, ClickHouse runs single-node with a volume, and blob storage is a Railway bucket. Every credential is generated per deploy, so no configuration is required.

Important: this template runs Langfuse v4's native ingestion path (events_only write mode). Instrument with Python SDK 4.7.0+, JS SDK 5.4.0+, or native OpenTelemetry. Older SDKs using the legacy batch endpoint are rejected. After deploying, open the app URL and create your account immediately, since sign-up is open on a fresh instance.

Common Use Cases

  • Tracing and debugging LLM apps during development
  • Staging and preview environments that mirror production observability
  • Personal projects and prototypes where a 6-service stack is overkill
  • Evaluating Langfuse before committing to a production deployment

Dependencies for Langfuse Lite Hosting

  • Langfuse web and worker, combined into one container
  • PostgreSQL (Railway postgres-ssl) with a volume
  • ClickHouse, single node, with a volume
  • Redis, embedded and ephemeral
  • Railway bucket for S3-compatible storage

Deployment Dependencies

Implementation Details

Not for production. No high availability, single-node ClickHouse, an ephemeral Redis queue (a redeploy can drop queued but unprocessed events), and no backups. Plan roughly 2 GB RAM for the app service. For production, use Langfuse Cloud or a full 6-service template.

Why Deploy Langfuse Lite on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Langfuse Lite on Railway, you get full LLM observability for your pre-production apps at the lowest service footprint available.


Template Content

More templates in this category

View Template
SigOnly
Deploy SigNoz with a working demo app & config in one click

zoeyjones
22
View Template
Unwrapped Spotify Music Stats
Unwrapped Spotify Music Stats, Estatísticas de músicas disponíveis

Jorge Henrique
1
View Template
OpenTelemetry Collector and Backend
OpenTelemetry Collector with Backend Stack

Melissa
113