|
| 1 | +# Copy this file to apps/web/.env.local for local development. |
| 2 | +# |
| 3 | +# IMPORTANT: this file must live in apps/web/, NOT at the repo root. |
| 4 | +# Next.js loads .env files relative to the directory containing |
| 5 | +# next.config.mjs, which is apps/web/. A .env.local at the repo root |
| 6 | +# will be silently ignored. |
| 7 | +# |
| 8 | +# Production values live in Vercel project env vars (Production + Preview). |
| 9 | + |
| 10 | +# OpenRouteService — required. |
| 11 | +# Get a key at https://openrouteservice.org/dev/#/signup |
| 12 | +# After signing up, click the verification link in the email — keys |
| 13 | +# do not work until verified. |
| 14 | +ORS_API_KEY= |
| 15 | + |
| 16 | +# Geoapify — required for POIs. |
| 17 | +# Get a key at https://myprojects.geoapify.com/ |
| 18 | +GEOAPIFY_API_KEY= |
| 19 | + |
| 20 | +# Stadia Maps — required for basemap tiles. |
| 21 | +# Get a key at https://client.stadiamaps.com/ |
| 22 | +# This is public-by-design (browser fetches tiles directly). |
| 23 | +# Lock the key by origin in your Stadia dashboard before deploying. |
| 24 | +NEXT_PUBLIC_STADIA_API_KEY= |
| 25 | + |
| 26 | +# MapTiler — optional alternative tile provider. |
| 27 | +# Get a key at https://cloud.maptiler.com/account/keys/ |
| 28 | +# Leave blank in MVP unless you want to switch tile providers. |
| 29 | +MAPTILER_API_KEY= |
| 30 | + |
| 31 | +# Public env vars (exposed to the browser). |
| 32 | +# Default origin for the map when geolocation is unavailable. |
| 33 | +NEXT_PUBLIC_DEFAULT_LNG=34.7818 |
| 34 | +NEXT_PUBLIC_DEFAULT_LAT=32.0853 |
| 35 | +NEXT_PUBLIC_DEFAULT_ZOOM=13 |
| 36 | + |
| 37 | +# Optional: pin the providers for debugging. Defaults are set in code. |
| 38 | +# NEXT_PUBLIC_TILE_PROVIDER=stadia |
| 39 | +# NEXT_PUBLIC_POI_PROVIDER=geoapify |
| 40 | +# NEXT_PUBLIC_ISOCHRONE_PROVIDER=ors |
0 commit comments