Skip to main content

Configuration

Environment variables, feature flags, and integrations such as Keycloak authentication, Ingress HTTPS, and Postgres backups.

GuideUse it to
Authentication (Keycloak)Choose local-password or Keycloak sign-in and configure administrator access.
Dify assistantAdd a host-owned launcher for an optional Dify WebApp iframe.
Ingress HTTPS and Caddy migrationPublish through the TLS Ingress and migrate the legacy Caddy route safely.
PostgreSQL Backup and RestoreSchedule, create, verify, and restore database backups.
Newsletter ingestion via IMAPAdd newsletters to user feeds through a configured mailbox.
Neo4j Knowledge GraphEnable graph storage and backfill entities and relationships.
MCP serverEnable scoped, read-only article access for an external AI client.
RSS client sync (Google Reader API)Connect a compatible RSS client with a per-user token.

See the root README for the full environment variable reference.

Email delivery

Email delivery remains disabled until the deployment provides a complete SMTP configuration and an absolute, browser-facing APP_BASE_URL. Enabling email controls in a user's settings does not make delivery available by itself.

VariableDescription
SMTP_HOSTSMTP relay hostname.
SMTP_PORTSMTP relay port.
SMTP_USERSMTP login username.
SMTP_PASSSMTP login password. Store this outside version control.
SMTP_FROMSender address used for outbound messages.
SMTP_TLSTransport mode: starttls, ssl, or none.
APP_BASE_URLAbsolute public URL used for links in email, independent of Keycloak configuration.

SMTP_USERNAME and SMTP_PASSWORD remain supported for legacy OTP email deployments. OTP-specific OTP_SMTP_* values retain precedence when set. With Helm, configure the non-secret values under app.email, set app.publicBaseUrl, and provide credentials through app.email.existingSecret; the chart does not render credential values into the Deployment.

For email links, APP_BASE_URL takes precedence over the compatibility variables NEWS_DASHBOARD_BASE_URL and NEWS_DASHBOARD_URL, in that order.