Skip to content

Fennec Environment Variables

Fennec Environment Variables

Vite accepts the repo’s REACT_APP_ prefix. These values are public in the browser bundle/runtime config; never store secrets in them.

VariablePurposeLocal example
REACT_APP_CLERK_PUBLISHABLE_KEYClerk browser bootstrapvalue-free
REACT_APP_BACKEND_URLLegacy/backend HTTP base used by apiConfig.backendhttp://localhost:9950
REACT_APP_BRAIN_URLBrain HTTP API basehttp://localhost:9970
REACT_APP_IMAGES_CDN_URLPublic image CDNhttps://images.foxy.ai
REACT_APP_R2BUCKET_NAMEPublic media bucket nametenderloin-dev

apps/fennec/.env.example is the maintained value-free template. Runtime configuration is written by scripts/write-runtime-config.mjs; update the template, runtime reader, deployment variables, and this page together.