Environment variables
View as MarkdownIdentity
Section titled “Identity”Generated API env parser, Vite build environment, and Sapporta CLI runtime.
Contract
Section titled “Contract”SAPPORTA_PUBLIC_APP_URLis the browser-facing origin used for auth links, callbacks, and default trust.SAPPORTA_FRONTEND_ORIGINSadds exact credentialed browser origins.SAPPORTA_REQUIRE_VERIFIED_EMAILandSAPPORTA_HEALTH_POLICYconfigure auth and health behavior.SAPPORTA_MAIL_TRANSPORTacceptsstream,smtp, ordisabled;SAPPORTA_MAIL_FROMsupplies the sender.VITE_API_URLis public build-time configuration for a split API origin.SAPPORTA_API_URL,SAPPORTA_API_TOKEN, andSAPPORTA_OUTPUT_FORMATconfigure CLI calls.SAPPORTA_API_PORTselects the API listener port. Hosting-platformPORTis accepted when it is absent; both values must match when set together. The API defaults to3000when neither is set.SAPPORTA_FRONTEND_PORTselects the Vite development port.