Backend#
DEPLOYMENT_MODE selects selfhost/saas; REGISTRATION_ENABLED controls registration. Configure DATABASE_URL, DATABASE_USER and DATABASE_PASSWORD for PostgreSQL. ADMIN_SETUP_TOKEN is a strong one-use bootstrap secret, removed after setup. FRONTEND_URL supplies email-link origin; ALLOWED_ORIGINS defines trusted web frontends. Configure LIVEKIT_URL, LIVEKIT_API_KEY and LIVEKIT_API_SECRET for media. SMTP uses SMTP_HOST, SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD, SMTP_AUTH, SMTP_STARTTLS and MAIL_FROM.
Files and operational credentials#
UPLOAD_DIRECTORY selects opaque object storage. WEBHOOK_ENCRYPTION_KEY is 32 random Base64 bytes; Legacy saas mode requires it. WEBHOOK_KEY_FILE is the selfhost fallback persistent file. The same service protects federation signing-key material using a separate AAD domain. ALLOW_PRIVATE_WEBHOOK_TARGETS and ALLOW_PRIVATE_FEDERATION_TARGETS default false and only permit controlled private destinations in selfhost mode; legacy saas mode keeps private addresses blocked. Federation itself is enabled explicitly in the portal, not by these network flags.
Builds and documentation#
Flutter web uses the page origin; mobile/desktop require a server address. Documentation uses DOCS_SITE_URL=https://docs.example.com for canonical/sitemap metadata. Neither setting publishes anything. Do not include operational secrets in client builds or documentation.