DOCAGENT_PUBLIC_URL | — | Public base URL, used in emails and redirects (e.g. https://app.zarlabs.tech). |
GITHUB_APP_SLUG | — | App slug for building the github.com/apps/<slug> install URL. |
DOCAGENT_DASHBOARD_PASSWORD | — | Optional password gate for /dashboard (empty = open). |
GITHUB_OAUTH_CLIENT_ID / GITHUB_OAUTH_CLIENT_SECRET | — | GitHub OAuth app credentials for dashboard login. |
GITHUB_REDIRECT_URI | — | OAuth callback URL; must match the GitHub App settings exactly. |
SESSION_SECRET | change-me-in-production | Signs session cookies/JWTs. Generate a strong value in production: python -c "import secrets; print(secrets.token_hex(32))". |
DOCAGENT_ADMIN_TOKEN | — | Token for /admin endpoints. |
ADMIN_SECRET | — | Header secret (X-Admin-Secret) for privileged actions. |
DOCAGENT_MCP_SECRET | — | Auth secret for MCP server clients. |
DOCAGENT_ALLOW_DEV_TOOLS | false | Enables /admin/dev/* helpers (seed demo runs). Never enable in production. |