Environment variables

Every environment variable the Statica server, daemon, and CLI understand.

Server

DATABASE_URL, REDIS_URL, OBJECT_STORE_URL, ENCRYPTION_KEY, and JWT_SECRET are required. SMTP_*, RESEND_API_KEY, and OAUTH_* are optional depending on which features you enable.

Daemon

STATICA_BACKEND_URL points the daemon at your server. STATICA_TOKEN is the daemon-scoped token issued from the workspace.

CLI

STATICA_CONFIG_DIR overrides the default ~/.statica directory. STATICA_NO_BROWSER skips the browser flow on login.