# Dev server port. Default: 5283. PORT=5283 VITE_API_URL=http://localhost:3001 VITE_BASE_API_URL=http://localhost:3001 # Proactive token refresh cadence (minutes). Must stay well under the 60-min # server session window. Default: 10. VITE_TOKEN_REFRESH_INTERVAL_MINUTES=10 # PostHog — session replay, error tracking, console logs. Both must be set or # observability stays off (the app works either way). Self-hosted instance. VITE_POSTHOG_KEY=phc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx VITE_POSTHOG_HOST=https://posthog.example.com # Maps JavaScript API key (fleet TrackingPage). Required — the hardcoded # fallback in TrackingPage.tsx is expired (ExpiredKeyMapError), so without # this set the tracking map renders blank. Get a key from the Google Cloud # Console (Maps JavaScript API + Places API + Geocoding API enabled). VITE_GOOGLE_MAPS_API_KEY=