Core Runtime
APP_NAME, APP_DOMAIN, and BETTER_AUTH_SECRET are required for setup.
APP_BASE_URL is generated by pre-build from APP_DOMAIN.
Optional Services
R2_ENABLED, QUEUE_NAMES, and CRONS control optional Cloudflare services. KV is always enabled.
Email Auth
EMAIL_ENABLEDemail auth feature switchEMAIL_SIGNUP_ENABLEDemail sign-up switchEMAIL_REQUIRE_VERIFICATIONrequire verification after sign-upEMAIL_USER_ACTION_COOLDOWN_SECONDScooldown window for user email actionsEMAIL_RESEND_API_KEYResend API keyEMAIL_FROMsender address such asAuth <auth@mg.example.com>EMAIL_SIGNUP_DOMAIN_ALLOWLISTsign-up domain allowlist separated by;
AI Providers
The chat and image modules only depend on their provider specific keys and model names.