Skip to content

Environment Variables

VariableRequiredDescription
ENVIRONMENTyesdevelopment / production
TRUST_SECRET / INTERNAL_TRUST_SECRETprod onlyHMAC secret shared with edge-gateway
AUTH_SECRET / JWT_SECRETprod onlyAdmin / session JWT signing
DByesD1 binding → core-d1
GRAPH_SHARDyesDurable Object binding
BUCKEToptionalR2 binding → core-r2
VariableRequiredDescription
ENVIRONMENTyesdevelopment / production
TRUST_SECRET / INTERNAL_TRUST_SECRETprod onlySame HMAC secret as core-api
CORE_APIyesService binding to Worker core-api
VariableRequiredDescription
ENVIRONMENTyesDeployment environment
DByesD1 binding → core-d1
BUCKEToptionalR2 binding → core-r2
EMAIL_WORKER_SECRETprod onlyAuth to infra-email
VariableRequiredDescription
RESEND_API_KEYyesResend transactional email API key
FROM_EMAILyesSender address
OPS_EMAILyesOperator email for backup/usage alerts
ENVIRONMENTyesdevelopment logs to console instead of sending
VariableRequiredDescription
PUBLIC_SITE_TITLEnoProduct name shown in nav and <title>
PUBLIC_TAGLINEnoHero tagline
PUBLIC_DESCRIPTIONnoMeta description
PUBLIC_SITE_URLnoCanonical URL of this site
PUBLIC_DOCS_URLnoPath to first docs page
PUBLIC_DASHBOARD_URLnoTenant dashboard URL
PUBLIC_API_BASE_URLnoAPI base URL shown in docs examples
PUBLIC_SUPPORT_EMAILnoSupport / sales contact email
PUBLIC_GITHUB_ORGnoGitHub organization slug
VariableRequiredDescription
NEXT_PUBLIC_PRODUCT_NAMEnoProduct name in UI
NEXT_PUBLIC_API_BASE_URLyesPublic API base URL (edge-gateway)
NEXT_PUBLIC_AUTH_URLyesAuth endpoint for the tenant dashboard
NEXT_PUBLIC_DOCS_URLnoLink to docs site
VariableRequiredDescription
VITE_PRODUCT_NAMEnoProduct name in control-plane topbar
VITE_API_BASE_URL / VITE_CONTROL_PLANE_API_URLyescore-api base URL
VITE_INTERNAL_JWT_ISSUERyesJWT issuer for admin session validation