chvolkmann / osm-apis

A docker-compose setup for self-hosting OpenStreetMap services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

osm-apis

A docker-compose setup for self-hosting OpenStreetMap services.

Usage

Clone the repository

git clone https://github.com/chvolkmann/osm-apis

Edit docker-compose.yml and replace the URLs with your areas of interest. The default is set to Hessen, Germany.

Start the compose stack with

# add -d to daemonize
docker-compose up

This will start all containers, download and set up the databases from the respective PBF files and open ports according to the configuration. Note that the first setup takes a while as the databases are decompressed and initialized.

The default port mapping is

  • port 5060: Nominatim API
  • port 5050: Overpass API
  • port 5051: Overpass Turbo UI

Data will be persisted through Docker volumes in the local directory

osm-apis/
├── docker-compose.yml
├── nominatim-data/
└── overpass-data/

About

A docker-compose setup for self-hosting OpenStreetMap services.