Fix OSRM setup: update Geofabrik URL and use bind mount for data
- Update Geofabrik download URL from great-britain to united-kingdom (old path returns 302 redirect to homepage). - Switch OSRM Docker volumes from named volume to bind mount (./osrm-data:/data) so osrm-setup.sh output is used directly. - Add osrm-data/ to .gitignore (large binaries, regenerated by script).
This commit is contained in:
parent
2fdafdcb64
commit
01dae5dfbd
3 changed files with 7 additions and 5 deletions
|
|
@ -11,7 +11,7 @@
|
|||
set -euo pipefail
|
||||
|
||||
DATA_DIR="${1:-./osrm-data}"
|
||||
GEOFABRIK_URL="https://download.geofabrik.de/europe/great-britain/england/greater-london-latest.osm.pbf"
|
||||
GEOFABRIK_URL="https://download.geofabrik.de/europe/united-kingdom/england/greater-london-latest.osm.pbf"
|
||||
OSM_FILE="greater-london-latest.osm.pbf"
|
||||
OSRM_IMAGE="ghcr.io/project-osrm/osrm-backend:latest"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue