Skip to content

Monogramm/docker-osrm-backend

Repository files navigation

License: AGPL v3 Docs Build Status Docker Automated buid Docker Pulls Docker Version Docker Size GitHub stars

OSRM Backend Docker image

Docker image for OSRM Backend.

What is OSRM Backend

Open Source Routing Machine.

OSRM Backend

Supported tags

Dockerhub monogramm/docker-osrm-backend

Tags:

  • images/5.24/debian/Dockerfile: 5.24.0-debian 5.24-debian 5.24.0 5.24
  • images/5.23/debian/Dockerfile: 5.23.0-debian 5.23-debian 5.23.0 5.23
  • images/5.22/debian/Dockerfile: 5.22.0-debian 5.22-debian 5.22.0 5.22
  • images/5.21/debian/Dockerfile: 5.21.0-debian 5.21-debian 5.21.0 5.21
  • images/latest/debian/Dockerfile: latest-debian latest-debian debian latest latest latest

How to run this image

This image provides an OSRM Manager in the form of the Docker entrypoint. It manages map downloads from Geofabrik and OSRM extraction/pre-processing/routing based on environment variables.

## mld or ch or corech
OSRM_ALGORITHM=mld

OSRM_THREADS=2

OSRM_PORT=5000

## Extraction profile
OSRM_PROFILE=/opt/car.lua

## OSRM map name
OSRM_MAP_NAME=berlin-latest

## Geofabrik relative path to download map
OSRM_GEOFABRIK_PATH=europe/germany/berlin-latest.osm.pbf

## File to modify to trigger OSRM reload when using command `start`
OSRM_NOTIFY_FILEPATH=/data/osrm_notify.txt

You can run osrm-routed in a detach mode by setting the command to start, and then use the file $OSRM_NOTIFY_FILEPATH to notify OSRM to restart.

See OSRM Backend base image documentation for more details.

OSRM Backend GitHub

OSRM Backend DockerHub

Questions / Issues

If you got any questions or problems using the image, please visit our Github Repository and write an issue.