Deploy Langfuse on Railway

Platform-specific deployment guides rely on community contributions, the Langfuse team maintains the self-host guide. Please let us know if this guide does not work anymore or if you have a better solution via Discord or by raising an issue on GitHub.

⚠️

Before following this guide, please make sure that you are familiar with the self-hosting documentation.

Langfuse is open source (MIT licensed core product) and you can deploy it on any platform to add observability, evaluation and prompt management to your LLM applications. Langfuse is configurable via environment variables, you can find the full list of available configuration options in the self-host guide.

Railway is a cloud platform that provides a simple and easy way to deploy and manage applications. With the template provided by the Langfuse team, you can easily deploy a Langfuse instance to Railway.

Get started

Clone template

Deploy on Railway

Configure environment variables

While deploying to Railway, you can configure the Langfuse instance by setting the environment variables. Have a look here for available options.

Upgrade

Updating Langfuse on Railway is as easy as deploying a new version, just stop the current instance and start a new one. The Railway app will automatically recognize that a new version is available and will run the latest version. Changes are automatically applied to the database.

Was this page useful?

Questions? We're here to help

Subscribe to updates