# Azaion UI — Vite build-time environment variables. # # All variables here are read at build time via `import.meta.env.VITE_*` and # inlined by Vite. Copy this file to `.env.local` (gitignored) for local # dev; CI / Docker pass the same variables through the build environment. # # Every variable is OPTIONAL. When unset, the SPA falls back to production- # default behavior: # - VITE_API_BASE_URL : '' (relative paths; SPA and suite share nginx) # - VITE_OWM_API_KEY : undefined → getWeatherData returns null # - VITE_OWM_BASE_URL : https://api.openweathermap.org/data/2.5 # - VITE_SATELLITE_TILE_URL : http://localhost:5100/tiles/{z}/{x}/{y} # (dev default; production builds MUST override # to the same-origin nginx path so cookie auth # is honored — AZ-498 / contract @ # _docs/02_document/contracts/satellite-provider/tiles.md) # Prefix for every API request (production: empty; tests / alt deployments: set). # A trailing slash is stripped automatically. # Example: VITE_API_BASE_URL=http://azaion-ui:80 VITE_API_BASE_URL= # OpenWeatherMap API key. Required for the FlightsPage weather feature. # Leave unset in CI tests — the e2e profile routes to owm-stub. VITE_OWM_API_KEY= # OpenWeatherMap REST base URL. Default targets the public endpoint; tests # override to point at the owm-stub service. # Example for the e2e profile: http://owm-stub:8081/data/2.5 VITE_OWM_BASE_URL= # Suite satellite-provider tile URL template (Leaflet TileLayer.url). # Production: same-origin path (`/tiles/{z}/{x}/{y}`) so the auth cookie rides. # E2E profile: http://tile-stub:8082/tiles/{z}/{x}/{y} VITE_SATELLITE_TILE_URL=