Skip to content

Self-hosting

Run the open-source engine yourself, with Docker or on AWS, against your own Postgres.

Applies to Engine
View as Markdown

The engine is free and open source. You need three things:

  1. A Postgres 14 or later — yours, anywhere (Any Postgres).
  2. A master key — 32 random bytes that encrypt the signing keys and stored credentials. Lose it and every session ends; keep it in a secrets manager.
  3. An e-mail provider — unless your project uses only Google and GitHub.
  • Docker

    Run the engine as a container with Postgres and a mail catcher, for development or production.

  • AWS

    Deploy the engine in your AWS account with one template: Lambda behind CloudFront at your address, a new RDS Postgres or yours, and SES.

  • Configuration

    Every setting of the engine and of a project, with its default, and every command of the engine's binary.

  • Upgrades and backups

    How to upgrade the engine without downtime, and what to back up.

One project or many

A self-hosted engine serves one project by default, the one in DATABASE_URL. To serve several, list them in projects.toml with their hosts and databases; each project keeps its own database, keys and settings.

    Search pages, sections and terms