Selfhosted mapping stack based on graphhopper, photon and versatiles
270
https://github.com/Coding-Kiwi/mapstack
Mapstack is a set of Docker images that lets you fully self-host routing, geocoding, and map tiles. Once the country data is downloaded, all services can run offline. Running a single country requires minimal storage, RAM, and CPU, making it lightweight and easy to deploy.
It consists of three core images:
| Image | Purpose | Based on |
|---|---|---|
| mapstack-graphhopper | Routing | GraphHopper |
| mapstack-photon | Geocoding | Photon |
| mapstack-versatiles | Tiles | Versatiles |
Mapstack can run in Managed Mode (recommended) or Standalone (.env) Mode.
Managed mode deploys all Mapstack services together via docker compose, with a ready-to-use admin interface.
Included services:
codingkiwi/mapstack-graphhopper - routingcodingkiwi/mapstack-photon - geocodingcodingkiwi/mapstack-versatiles - map tilescodingkiwi/mapstack - admin interface & gateway proxyvalkey - configuration syncCheck docker-compose.yaml for a example
Features:
DISABLE_ADMIN to true
Each service can also run independently using environment variables. This mode is ideal for setups where the country selection is fixed.
Set MANAGED=false for each service.
Check docker-compose.unmanaged.yaml for an example.
Containers automatically download required files on startup.
| Container | Env Variable | Example | Source |
|---|---|---|---|
codingkiwi/mapstack-graphhopper | REGION | europe/iceland | Geofabrik |
codingkiwi/mapstack-photon | COUNTRY | is | GraphHopper Public Extracts |
codingkiwi/mapstack-versatiles | BBOX | 13.091,52.334,13.74,52.676 | Versatiles |
Content type
Image
Digest
sha256:6ab014584…
Size
112.8 MB
Last updated
9 months ago
docker pull codingkiwi/mapstack:1.0.3