web/.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in web/.env.example)
RESEND_API_KEY
secret
CMUX_FEEDBACK_FROM_EMAIL
CMUX_FEEDBACK_RATE_LIMIT_ID
CMUX_FOUNDERS_FROM_EMAIL
cmux Founder's Edition welcome email. /api/stripe/founders-welcome verifies the Stripe webhook signature with this endpoint secret, then…
STRIPE_FOUNDERS_WEBHOOK_SECRET
secret
NEXT_PUBLIC_STACK_PROJECT_ID
Stack Auth (https://stack-auth.com), required for the /handler/* routes and the mac app sign-in flow.
NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY
secret
STACK_SECRET_SERVER_KEY
secret
DATABASE_URL
secret
Local/Postgres database. `bun db:*` derives the local port from CMUX_PORT by default: DATABASE_URL uses localhost:${CMUX_PORT + 10000}. CI…
DIRECT_DATABASE_URL
secret
CMUX_VM_CREATE_ENABLED
Cloud VM providers (manaflow-owned keys, no BYO). See scratch/vm-experiments for images. Global create kill switch. Set to 0/false/off to…
CMUX_VM_DEFAULT_PROVIDER
Which provider a fresh `cmux vm new` picks if the client doesn't specify one.
CMUX_VM_ALLOW_UNMANIFESTED_IMAGES
Dev-only escape hatch for image experiments. Leave unset in Vercel production/staging/preview so image ids must be present in…
CMUX_VM_ALLOWED_ORIGINS
Optional comma-separated same-origin exceptions for cookie-authenticated browser mutations.
CMUX_VM_E2B_ENABLED
E2B_API_KEY
secret
E2B_CMUXD_WS_TEMPLATE
E2B cmuxd WebSocket PTY template. Produced by web/scripts/build-cloud-vm-images.ts.
E2B_SANDBOX_TEMPLATE
Legacy scratch template. Pass explicitly with --image if needed.
CMUX_VM_FREESTYLE_ENABLED
FREESTYLE_API_KEY
secret