# 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_OSM_TILE_URL  : https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
#   - VITE_ESRI_TILE_URL : https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}

# 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=<your-openweathermap-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=

# OSM map tile URL template (Leaflet TileLayer.url).
# Example for the e2e profile: http://tile-stub:8082/{z}/{x}/{y}.png
VITE_OSM_TILE_URL=

# Esri satellite tile URL template (Leaflet TileLayer.url for the satellite layer).
# Example for the e2e profile: http://tile-stub:8082/sat/{z}/{y}/{x}
VITE_ESRI_TILE_URL=
