Nominatim Docker
100% working container for Nominatim.
Run http://wiki.openstreetmap.org/wiki/Nominatim in a docker container. Clones the current master and builds it. This is always the latest version, be cautious as it may be unstable.
Uses Ubuntu 14.04 and PostgreSQL 9.3 Country
To check that everything is set up correctly, download and load to Postgres PBF file with minimal size - Africa/Nigeria (latest) from geofabrik.de.
If a different country should be used you can set PBF_DATA on build.
Clone repository
# git clone https://github.com/gpproton/nominatim-docker.git
# cd nominatim-docker
Modify Dockerfile, set your url for PBF
ENV PBF_DATA http://download.geofabrik.de/africa/nigeria-latest.osm.pbf
Build
docker build -t nominatim .
Run
docker run --restart=always -d -p 8080:8080 --name nominatim-ng nominatim
If this succeeds, open http://localhost:8080/ in a web browser
Running
You can run Docker image from docker hub.
docker run --restart=always -d -p 8080:8080 --name nominatim gpproton/nominatim
Service will run on http://localhost:8080/
Content type
Image
Digest
Size
1.4 GB
Last updated
almost 9 years ago
docker pull gpproton/nominatim