File size: 515 Bytes
4251fc5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"