Valhalla

Valhalla

Official

Docker app from grtgbln's Repository

Overview

An open source routing engine and accompanying libraries for use with OpenStreetMap data. Valhalla also includes tools like time+distance matrix computation, isochrones, elevation sampling, map matching and tour optimization (Travelling Salesman).

Runtime arguments

Network
bridge
Privileged
false

Template configuration

API PortPorttcp

Container Port: 8002

Target
8002
Default
8002
Value
8002
Tile URLsVariable

Space-separated list of URLs. Remove if Use Local Tiles is enabled.

Target
tile_urls
Default
https://download.geofabrik.de/europe/andorra-latest.osm.pbf
Value
https://download.geofabrik.de/europe/andorra-latest.osm.pbf
Use Local TilesVariable

Use a local tile.tar file instead of downloading and building

Target
use_tiles_ignore_pbf
Default
False|True
Build TarVariable

True creates a tarball of the tiles including an index which allows for extremely faster graph loading after reboots. Force will do the same, but first delete the existing tarball.

Target
build_tar
Default
True|Force|False
Force RebuildVariable

Force a rebuild of the routing tiles and sets (overrides Build Tar)

Target
force_rebuild
Default
False|True
Build ElevationVariable

True downloads elevation tiles which are covering the routing graph. Force will do the same, but first delete any existing elevation tiles.

Target
build_elevation
Default
False|True|Force
Build AdminsVariable

True builds the admin database needed for things like border-crossing penalties and detailed routing responses. Force will do the same, but first delete the existing database.

Target
build_admins
Default
False|True|Force
Build Time ZonesVariable

True builds the timezone database which is needed for time-dependent routing. Force will do the same, but first delete the existing database.

Target
build_time_zones
Default
False|True|Force
Build TransitVariable

True will attempt to build transit tiles if none exist yet. Force will remove existing transit and routing tiles.

Target
build_transit
Default
False|True|Force
Custom FilesPath

Path to custom files.

Target
/custom_files
Default
/mnt/user/appdata/valhalla/custom_files
Value
/mnt/user/appdata/valhalla/custom_files
GTFS FeedsPath

Path to GTFS feeds. Remove if Build Transit is disabled.

Target
/gtfs_feeds
Default
/mnt/user/appdata/valhalla/gtfs_feeds
Value
/mnt/user/appdata/valhalla/gtfs_feeds
Tileset NameVariable

The name of the resulting graph on disk. Very useful in case you want to build multiple datasets in the same directory.

Target
tileset_name
Default
valhalla_tiles
Value
valhalla_tiles
Traffic NameVariable

The name of the traffic.tar. Again, useful for serving multiple traffic archives from the same directory. If empty, no traffic archive will be built.

Target
traffic_name
Default
traffic.tar
Value
traffic.tar
Path ExtensionsVariable

This path will be appended to the custom_files path and will be the directory where all files will be created. Can be very useful in certain deployment scenarios. No leading/trailing path separator allowed.

Target
path_extension
Update Existing ConfigVariable

True updates missing keys in existing valhalla.json. Useful for updating stale config files to include newly introduced config parameters.

Target
update_existing_config
Default
True|False
Use Default Speed ConfigVariable

True loads a JSON file used to enhance default speeds (or falls back to an existing custom_files/default_speeds.json) and sets the respective config entry. More details: https://github.com/OpenStreetMapSpeeds/schema

Target
use_default_speeds_config
Default
False|True
Default Speed Config URLVariable

Remote location of the default_speeds_config JSON.

Target
default_speeds_config_url
Default
https://raw.githubusercontent.com/OpenStreetMapSpeeds/schema/master/default_speeds.json
Value
https://raw.githubusercontent.com/OpenStreetMapSpeeds/schema/master/default_speeds.json
Serve TilesVariable

Serve tiles from the container. If false, only build the graph.

Target
serve_tiles
Default
True|False
Server ThreadsVariable

Number of threads to use for the server

Target
server_threads
Default
2
Value
2

Download Statistics

287,459
Total Downloads
790
This Month
463
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
ghcr.io/valhalla/valhalla:latest
Last Updated2023-03-16
First Seen2025-01-28

Run Valhalla on Unraid.

Valhalla is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.