Public | Automated Build

Last pushed: 7 months ago
Short Description
100% working container for Nominatim
Full Description

Nominatim Docker

100% working container for Nominatim.

Supported tags and respective Dockerfile links

Run 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


To check that everything is set up correctly, download and load to Postgres PBF file with minimal size - Europe/Monacco (latest) from

If a different country should be used you can set PBF_DATA on build.

  1. Clone repository

    # git clone
    # cd nominatim-docker/2.5
  2. Modify Dockerfile, set your url for PBF

  3. Configure incrimental update. By default CONST_Replication_Url configured for Monaco.
    If you want a different update source, you will need to declare CONST_Replication_Url in local.php. Documentation [here] ( For example, to use the daily country extracts diffs for Gemany from geofabrik add the following:

    @define('CONST_Replication_Url', '');
  4. Build

    docker build -t nominatim .
  5. Run

    docker run --restart=always -d -p 8080:8080 --name nominatim-monacco nominatim

    If this succeeds, open http://localhost:8080/ in a web browser


You can run Docker image from docker hub.

docker run --restart=always -d -p 8080:8080 --name nominatim mediagis/nominatim:latest

Service will run on http://localhost:8080/


Full documentation for Nominatim update available here. For a list of other methods see the output of:

  docker exec -it nominatim sudo -u nominatim ./src/utils/update.php --help

The following command will keep your database constantly up to date:

  docker exec -it nominatim sudo -u nominatim ./src/utils/update.php --import-osmosis-all --no-npi

If you have imported multiple country extracts and want to keep them
up-to-date, have a look at the script in
issue #60.

Docker Pull Command
Source Repository