FOSSGIS OSM Communitytreffen 2026 Nummer 25/Panoramax
Aus FOSSGIS Wiki
Zur Navigation springenZur Suche springen
Erfahrungen
- https://docs.panoramax.fr/backend/
Höhe von Fotos 2,5 m
private bilder kein DSGVO, bis veröffentlicht
möglich für eine Stadt
Demo auf osx Macbook Pro M1
- das Dockerfile docker-compose-full.yml
- dazu docker-compose-blurring.yml
und docker-compose.override.yml
https://gitlab.com/panoramax/server/api/-/blob/develop/docker/docker-compose-full.yml
https://gitlab.com/panoramax/server/api/-/blob/develop/docker/docker-compose-blurring.yml
services:
db:
platform: linux/amd64
website:
platform: linux/amd64
migrations:
platform: linux/amd64
api:
platform: linux/amd64
ports:
- "0.0.0.0:5050:5000"
environment:
OAUTH_OIDC_URL: http://host.docker.internal:8182/realms/geovisio
API_BLUR_URL: https://panoramax.openstreetmap.org
dns:
- 1.1.1.1
- 8.8.8.8
background-worker:
platform: linux/amd64
environment:
API_BLUR_URL: https://panoramax.openstreetmap.org
dns:
- 1.1.1.1
- 8.8.8.8
role-initializer:
platform: linux/amd64
docker-compose.override.yml
Ein Problem ist, das https://tile-vect.openstreetmap.fr nur Frankreich liefert. Im Webfrontend ist VITE_TILES hardcoded und ich habe es nicht hinbekommen, es mit .env zu überschreiben. Deshalb zur Laufzeit ausführen.
docker compose -f docker-compose-full.yml -f docker-compose.blur.yml \ exec website sh -c "sed -i 's|https://tile-vect.openstreetmap.fr/styles/basic/style.json|https://tiles.openfreemap.org/styles/liberty|g' /usr/share/nginx/html/assets/*.js"
Wenn Zeit ist, Webfrontend neu bauen.