Deploy Langfuse on Railway
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
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.