Self HostingInfrastructurePostgreSQL
Version: v3

Postgres Database

Follow one of the deployment guides to get started.

Langfuse requires a persistent Postgres database to store its state. You can use a managed service on AWS, Azure, or GCP, or host it yourself.

Langfuse supports Postgres versions >= 12.

Use Cases

Postgres is used for all transactional data, including:

  • Users
  • Organizations
  • Projects
  • Datasets
  • Encrypted API keys
  • Settings

Configuration

Timezones

Langfuse expects that its infrastructure components default to UTC. Especially Postgres and ClickHouse settings that overwrite the UTC default are not supported and may lead to unexpected behavior. Please vote on this GitHub Discussion if you would like us to consider supporting other timezones.

Was this page useful?

Questions? We're here to help

Subscribe to updates