Improve operational GIS map workflow
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-07-04 23:29:33 +02:00
parent 531c4e4e1d
commit 21374ed187
10 changed files with 246 additions and 4 deletions
+7 -1
View File
@@ -31,7 +31,7 @@ OSM_OVERPASS_URL=https://overpass-api.de/api/interpreter
```env
VITE_API_BASE_URL=
VITE_API_PROXY_TARGET=http://localhost:8000
VITE_MAP_STYLE_URL=https://demotiles.maplibre.org/style.json
VITE_MAP_STYLE_URL=
```
`VITE_API_BASE_URL` is intentionally empty by default so the browser calls the
@@ -39,6 +39,12 @@ same origin as the frontend. In Docker Compose, nginx serves the built frontend
and reverse proxies `/api` and `/health` to the backend container. For local
Vite development, `VITE_API_PROXY_TARGET` can point to the local backend.
If `VITE_MAP_STYLE_URL` is empty, the frontend uses the built-in OpenStreetMap
road raster basemap with visible attribution. This is suitable for local V1
testing and demos. For production, commercial use or heavier traffic, set
`VITE_MAP_STYLE_URL` to a managed MapLibre style URL from an appropriate tile
provider instead of relying on the public OpenStreetMap tile service.
## Docker compose services
- `db`: PostGIS image.