Last active
April 10, 2025 14:03
-
-
Save vaso991/084f8a88a12afc22cb975784dda4fff6 to your computer and use it in GitHub Desktop.
osrm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: melo-maps | |
services: | |
osrm: | |
image: osrm/osrm-backend:v5.25.0 | |
container_name: osrm | |
restart: unless-stopped | |
ports: | |
- '5000:5000' | |
volumes: | |
- ./metadata:/data | |
command: osrm-routed /data/georgia-latest.osm.pbf | |
nominatim: | |
image: mediagis/nominatim:5.1 | |
container_name: nominatim | |
restart: unless-stopped | |
volumes: | |
- ./nominatim_metadata:/data | |
- ./nominatim_data:/var/lib/postgresql/16/main | |
environment: | |
- PBF_PATH=/data/georgia-latest.osm.pbf | |
- REPLICATION_URL=https://download.geofabrik.de/europe/georgia-updates/ | |
- POSTGRES_SHARED_BUFFERS=1GB | |
- THREADS=1 | |
ports: | |
- '5001:8080' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://download.geofabrik.de/europe/georgia-latest.osm.pbf | |
docker run -t -v $(pwd):/data osrm/osrm-backend:v5.25.0 osrm-extract -p /opt/car.lua /data/georgia-latest.osm.pbf | |
docker run -t -v $(pwd):/data osrm/osrm-backend:v5.25.0 osrm-contract /data/georgia-latest.osm.pbf | |
docker run -t -i -p 5000:5000 -v $(pwd):/data osrm/osrm-backend:v5.25.0 osrm-routed /data/georgia-latest.osm.pbf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment