Spaces:
Running
Running
Download docker-compose.yml from Abhises/osrm-server: direct link, hf CLI and curl.
- Browser
- Download file 515 Bytes
-
https://huggingface.co/spaces/Abhises/osrm-server/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/Abhises/osrm-server/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/Abhises/osrm-server/resolve/main/docker-compose.yml
515 Bytes
| version: '3.8' | |
| services: | |
| osrm: | |
| image: osrm/osrm-backend:latest | |
| container_name: oniva_routing_engine | |
| restart: unless-stopped | |
| # This exposes the OSRM server to your host machine on port 5001 | |
| ports: | |
| - "5001:5000" | |
| # This mounts your local 'osrm-data' folder into the container's '/data' folder | |
| volumes: | |
| - ./osrm-data:/data | |
| # This command boots the server using your specific Senegal/Gambia map | |
| command: "osrm-routed --algorithm ch /data/senegal-and-gambia-latest.osrm" |