Environment
Required
SECRET_MASTER_KEY_BASE64: base64-encoded 32-byte key for encrypted secret storage
Runtime defaults (recommended for local)
API_HOST=127.0.0.1API_PORT=4000WEB_ORIGIN=http://localhost:5173COOKIE_SECURE=false
Auth bootstrap (optional, recommended)
BOOTSTRAP_ADMIN_EMAILBOOTSTRAP_ADMIN_PASSWORD
Use this to create an initial admin automatically when DB is empty.
Provider/connector env fallbacks
Some adapters support env fallback values. Examples:
AZURE_OPENAI_API_KEYAZURE_OPENAI_ENDPOINTAZURE_OPENAI_API_VERSIONAZURE_AI_SEARCH_API_KEYAZURE_AI_SEARCH_ENDPOINT
Use secrets for production. Env fallbacks are mainly for local development.