Skip to content

Self-hosting & operations

For getting a first instance running, see Install and the Quickstart. This section covers running Farcaster in production:

  • Deployment — the single-binary model, containers, health probes, horizontal scaling, and graceful shutdown.
  • Configuration reference — every environment variable the gateway reads, generated directly from the gateway’s config manifest (so a new setting can’t ship undocumented).
  • Postgres — the durable store, automatic migrations, and the dev-only in-memory fallback.
  • KMS & secrets — how stored credentials are envelope-encrypted, the FARCASTER_KMS_KEY master key, and secret hygiene.
  • Upgrades — binary replacement, migrations on boot, and rolling deploys.