Configuration lives in .env.local (copy .env.example to start). Variables without a NEXT_PUBLIC_ prefix are server-side only and never reach the browser; NEXT_PUBLIC_ variables are inlined into the client bundle at build time, so only put non-secret values there.
Required
In a Docker build these two are also required at build time — the storefront prerenders pages against the Spree API. See Deployment.
Store defaults
Used by the middleware for initial redirects before API data loads, and as build-time fallbacks for sitemap/SEO generation.
SEO & social
Optional overrides for site metadata and the Organization JSON-LD. When unset, values fall back to store settings from the Spree API.
Wholesale B2B portal
The wholesale portal is an opt-in addon, off by default.
Transactional emails
See the Transactional Emails guide for the full setup.
Payments
Publishable keys for client-side payment SDKs, read when the matching gateway is enabled. Set the key for whichever provider(s) you use.
Analytics
Error tracking (Sentry)
PII collection is disabled by default. Only set the SENTRY_SEND_DEFAULT_PII variables to true if you have appropriate user consent or a privacy policy covering this data.