Sinatra Docs
Configuration

Environment variables

Reference of every env var the API and worker read.

Full reference is being written. Below is the categorical list.

Categories

  • Database & TemporalDATABASE_URL, TEMPORAL_ADDRESS, TEMPORAL_NAMESPACE, TEMPORAL_API_KEY (cloud only).
  • API serverHOST, PORT, APP_BASE_URL, LINEAR_REDIRECT_URI.
  • KMSSINATRA_KMS_KEY (production, GCP KMS resource), SINATRA_LOCAL_DEV_KMS_KEY (32-byte base64, dev only).
  • OAuth stateINSTALL_STATE_SECRET (random hex).
  • Linear appLINEAR_CLIENT_ID, LINEAR_CLIENT_SECRET, LINEAR_WEBHOOK_SECRET.
  • GitHub appGITHUB_APP_ID, GITHUB_APP_PRIVATE_KEY, GITHUB_APP_WEBHOOK_SECRET, GITHUB_APP_SLUG.
  • SandboxSANDBOX_PROVIDER (daytona or docker), DAYTONA_API_KEY.
  • LLM keys — managed per-tenant in the tenantModelCredential table; not env vars (with the dev-only exception of using the host claude CLI when SANDBOX_PROVIDER=docker).

For dev defaults and the example .env.development.local file, see Self-hosting → Env production.

On this page