arogi/valhalla-docker

Name: valhalla-docker

Owner: Arogi

Description: DEPRECATED (as of December 2016) Dockerfile for Mapzen's Valhalla router (w/Arogi mods)

Forked from: tomtaylor/valhalla-docker

Created: 2016-08-21 01:27:18.0

Updated: 2016-12-13 05:14:31.0

Pushed: 2016-08-21 01:37:08.0

Homepage:

Size: 135

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Dockerfile for Valhalla

This Dockerfile provides an easy way to build and deploy Mapzen's Valhalla, an open-source routing engine, without configuring the full Chef install.


Note to Contributors: Building a Docker image using ./build.sh may create a conf directory in your local repo. If you make changes to the repo, make sure you do not push this redundant directory up to GitHub. The conf files are best accessed via: github.com/valhalla/conf.git or github.com/arogi/conf.git


Not ready to mess with Docker or Chef? Mapzen provides hosted versions of these services under the names Turn-by-Turn, Matrix, and Elevation. Sign up for a free developer key at https://mapzen.com/developers/


Back to this Dockerfile: It defaults to using an OpenStreetMap extract of Trento, IT, but you can change this if you like, in the Dockerfile. Browse Mapzen's Metro Extracts service for other regions, and copy the URL for a OSM PBF-formatted extract.

To build the Docker image issue:

ild.sh

To run instead issue:

n-valhalla.sh
Tips for Running on a Mac

For easiest setup, use the Docker for Mac package, currently available for beta testing.

Increase resources available to Docker to at least 4 CPU cores and 4Gb RAM: Docker for Mac settings

If your container can't connect to github.com to checkout libraries, you may need to edit your /etc/resolve.conf. For example, set your Mac WiFi to use Google's public DNS servers, as well as a local router:

 networksetup -setdnsservers Wi-Fi 8.8.8.8 8.8.4.4 192.168.1.254
Good to have in future:

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.