Skip to content
Docs home

SELF-HOSTING · UPDATED AUGUST 2026

Environment Variables

The complete environment inventory, generated from the actual deployment configuration — with no real values shown.

The inventory

The table below lists every environment variable the deployment reads, its purpose, its security posture, and an example of its shape. Real values are never shown here — they belong in .env.local (server-only secrets) or the deployment secret store, both outside version control.

VariableRequiredPurposeExampleSecurity
VITE_SUPABASE_URLYesSupabase endpoint exposed in the browser bundlehttps://supabase.example.comPublic (anon key only)
VITE_SUPABASE_PUBLISHABLE_KEYYesBrowser anon keysb_publishable_…Public by design
VITE_SUPABASE_PROJECT_IDYesProject identifierqueNon-secret
SUPABASE_URLYesServer Supabase endpointhttps://supabase.example.comServer only
SUPABASE_SERVICE_ROLE_KEYYesBypasses RLS — server only, never in bundleseyJ…Critical secret; gitignored
STRIPE_SECRET_KEYIf StripeStripe API accesssk_live_…Critical secret
STRIPE_WEBHOOK_SECRETIf Stripe inboundVerifies inbound payment webhookswhsec_…Secret
PAYPAL_CLIENT_ID / PAYPAL_SECRETIf PayPalPayPal provider accountclient id / secretSecret
SMTP_HOST / SMTP_PORT / SMTP_SECUREYesEmail dispatchsmtp.example.com / 465 / truePublic
SMTP_FROMYesSender identityQUE <contact@example.com>Public
SMTP credentialsYesSMTP auth(in .env.local)Critical secret
SMS provider credentialsIf SMSSMS dispatch (Twilio-class / WhatsApp provider)(in .env.local)Critical secret
BACKUP_CRON_SECRETYesAuthenticates the backup cron route(bearer token)Secret
NOTIFICATIONS_CRON_SECRETYesAuthenticates the reminder/workflow cron routes(bearer token)Secret
ALERTMANAGER_WEBHOOK_SECRETIf alertingFail-closed gate for the alert webhook sink(bearer token)Secret
METRICS_TOKENIf metricsBearer token for GET /api/public/metrics(bearer token)Secret
SENTRY_DSNOptionalServer error reportinghttps://…@sentry/1Server only
VITE_SENTRY_DSNOptionalClient error reporting (build-time public by design)https://…@sentry/2Public DSN
PROJECT_NAMEYesService identity in logs and reportsqueNon-secret
NODE_ENVYesRuntime profileproductionNon-secret
REDIS_REST_URLIf Redis cacheREST cache endpoint (ratelimit, domain verification, ACME storage)https://redis.example.comServer only
REDIS_REST_TOKENIf Redis cacheBearer token for the REST endpoint(in .env.local)Critical secret
REDIS_REST_FLAVORIf Redis cacheAdapter flavor: upstash or webdis (self-hosted Webdis)webdisNon-secret
WILDCARD_BASE_DOMAINIf wildcard URLsWildcard subdomain baseexample.comPublic

Two publishable keys, two jobs

The VITE_ prefix means build-time public configuration by deliberate design; the server keeps its own private key. The runtime must export the non-VITE publishable key alongside the build-time one — inlined SSR loaders read the server key directly, and its absence is a runtime defect, not a configuration choice.

STILL READING

Something here still feels worth checking together.

This documentation describes the product exactly as it is implemented. If a behavior you expected is not here — or is here and does not match your deployment — tell the team. Implementation questions start on the contact page.