OSRM Backend Docker image

Docker image for OSRM Backend.

What is OSRM Backend

Open Source Routing Machine.

OSRM Backend

Supported tags

Dockerhub matrheusriios/osrm-backend

Tags:

  • images/5.27/debian/Dockerfile: 5.24.0-debian 5.24-debian 5.24.0 5.24

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.