VITE_* and SENTRY_* variables are inlined at build time. They are
baked into the JavaScript bundle when vite build runs. Changing them requires
rebuilding the image.
BACKEND_ORIGIN is the only runtime variable. It is read by nginx at
container start (via envsubst) to decide where to proxy /api/. You can
change it without rebuilding.
Backend API base, including version prefix. Leave relative for same-origin requests behind the nginx proxy. The local-dev .env.example points it at http://localhost:8080/api/v1.
BACKEND_ORIGIN
http://backend:8080
Runtime. nginx reverse-proxy target for /api/. Set per deployment.
Browser push notifications are disabled unless all of these are set. The
on-demand firebase-messaging-sw.js service worker is only registered when
Firebase is fully configured — there is no precaching service worker.