Skip to content

Commit

Permalink
Update documenation
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Mar 18, 2024
1 parent 576c1ef commit 1a0c501
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 4.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ docker run -it \
-e REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/ \
-p 8080:8080 \
--name nominatim \
mediagis/nominatim:4.3
mediagis/nominatim:4.4
```

Port 8080 is the nominatim HTTP API port and 5432 is the Postgres port, which you may or may not want to expose.
Expand Down Expand Up @@ -102,7 +102,7 @@ See https://nominatim.org/release-docs/4.4.0/admin/Import/#filtering-imported-da

### Flatnode files

In addition you can also mount a volume / bind-mount on `/nominatim/flatnode` (see: Persistent container data) to use flatnode storage. This is advised for bigger imports (Europe, North America etc.), see: https://nominatim.org/release-docs/4.3.0/admin/Import/#flatnode-files. If the mount is available for the container, the flatnode configuration is automatically set and used.
In addition you can also mount a volume / bind-mount on `/nominatim/flatnode` (see: Persistent container data) to use flatnode storage. This is advised for bigger imports (Europe, North America etc.), see: https://nominatim.org/release-docs/4.4.0/admin/Import/#flatnode-files. If the mount is available for the container, the flatnode configuration is automatically set and used.

```sh
docker run -it \
Expand All @@ -111,7 +111,7 @@ docker run -it \
-e REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/ \
-p 8080:8080 \
--name nominatim \
mediagis/nominatim:4.3
mediagis/nominatim:4.4
```

### Configuration Example
Expand All @@ -137,7 +137,7 @@ docker run -it --shm-size=1g \
-v nominatim-data:/var/lib/postgresql/14/main \
-p 8080:8080 \
--name nominatim \
mediagis/nominatim:4.3
mediagis/nominatim:4.4
```

## OpenStreetMap Data Extracts
Expand All @@ -160,7 +160,7 @@ docker run -it \
-p 8080:8080 \
-v /osm-maps/data:/nominatim/data \
--name nominatim \
mediagis/nominatim:4.3
mediagis/nominatim:4.4
```

where the _/osm-maps/data/_ directory contains _monaco-latest.osm.pbf_ file that is mounted and available in container: _/nominatim/data/monaco-latest.osm.pbf_
Expand Down Expand Up @@ -191,7 +191,7 @@ docker run -it \
-p 8080:8080 \
-v /osm-maps/data:/nominatim/data \
--name nominatim \
mediagis/nominatim:4.3
mediagis/nominatim:4.4
```

where the _/osm-maps/data/_ directory contains _merged.osm.pbf_ file that is mounted and available in container: _/nominatim/data/merged.osm.pbf_
Expand All @@ -207,7 +207,7 @@ docker run -it \
-p 8080:8080 \
-v /osm-maps/extras:/nominatim/extras \
--name nominatim \
mediagis/nominatim:4.3
mediagis/nominatim:4.4
```

Where the path to the importance dump is given relative to the container. (The file does not need to be named `wikimedia-importance.sql.gz`.) The same works for `IMPORT_US_POSTCODES` and `IMPORT_GB_POSTCODES`.
Expand Down

0 comments on commit 1a0c501

Please sign in to comment.