Skip to content

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.

Variable Purpose Local example
REACT_APP_CLERK_PUBLISHABLE_KEY Clerk browser bootstrap value-free
REACT_APP_BACKEND_URL Legacy/backend HTTP base used by apiConfig.backend http://localhost:9950
REACT_APP_BRAIN_URL Brain HTTP API base http://localhost:9970
REACT_APP_IMAGES_CDN_URL Public image CDN https://images.foxy.ai
REACT_APP_R2BUCKET_NAME Public media bucket name tenderloin-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.