Minimalistic Docker images for Nominatim
4.1K
Minimalistic Docker images for Nominatim
n7m is a Numeronym for Nominatim.
n7m is Nominatim packaged in Docker images with separation of responsibilities between housing the web server, UI, API server, setup processes and PostGIS.
This set of Docker images seperates responsbility into 5 areas:
n7m-gisn7m-api @ path: /api/v4/n7m-ui @ path: / |
v 8080 (dev), 80 (prod)
+--------------+ +--------------+
| | | |
| n7m-web |----->| n7m-ui |
| | 80 | |
+--------------+ +--------------+
| nginx | | nginx |
+--------------+ +--------------+
|
v 8000
+--------------+ +--------------+
| | | |
| n7m-api | | n7m-feed |
| | | |
+--------------+ +--------------+
| python | | python |
+--------------+ +--------------+
| | |
v 5432 v v
/--------\ +-----------------+ /--------\
| volume |<--| | | volume |
| pgdata | | n7m-gis | | data |
\--------/ + + \--------/
|-----------------+
| postgis/postgis |
+-----------------+
docker-compose builddocker-compose run feed download --wiki --griddocker run -v <path to working dir>/data:/tileset openmaptiles/openmaptiles-tools download-osm monacodocker-compose.yml file to select the downloaded OSM file.
monaco-latest.osm.pbf which was downloaded in step 3.docker-compose up
http://localhost:8080docker-compose run feed resetdocker-compose run feed setupdocker-compose run feed updatedocker-compose run feed replicationFor imports and updates, consider these configurations:
address | admin | extratags | full | street]nominatim importContent type
Image
Digest
sha256:c8023f7de…
Size
20.8 MB
Last updated
almost 2 years ago
docker pull smithmicro/n7m-ui