You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-40Lines changed: 17 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,12 @@ Minimalistic Docker images for Nominatim
4
4
## About
5
5
n7m is a [Numeronym](https://en.wikipedia.org/wiki/Numeronym) for [Nominatim](https://nominatim.org/).
6
6
7
-
n7m is Nominatim packaged in Docker images with separation of responsibilities between housing the web server, ui, applicaiton server, setup processes, tests and PostgreSQL.
7
+
n7m is Nominatim packaged in Docker images with separation of responsibilities between housing the web server, ui, applicaiton server, setup processes and PostgreSQL.
8
8
9
9
## Overview
10
10
This set of Docker images seperates responsbility into 5 areas:
11
11
***n7m-app** - The main Nomainatim service running Apache/PHP connecting to `n7m-gis`
12
12
***feed** - Uses the `n7m-app` image to set up the `n7m-gis` database. Can also be used for updates and downloading files.
13
-
***n7m-test** - Runs all unit tests
14
13
***n7m-gis** - Postgis database
15
14
***n7m-ui** - Test web user interface
16
15
***n7m-web** - nginx web sever that hosts:
@@ -30,22 +29,22 @@ This set of Docker images seperates responsbility into 5 areas:
@@ -67,29 +66,12 @@ This set of Docker images seperates responsbility into 5 areas:
67
66
*`docker-compose run feed setup`
68
67
3. To update:
69
68
*`docker-compose run feed update`
70
-
3. To run unit tests:
71
-
*`docker-compose run test make`
72
69
73
70
## Configuration Hints
74
71
For updates, consider these configurations:
75
72
* NOMINATIM_REPLICATION_MAX_DIFF - you will want to set this to a larger number.
76
73
* NOMINATIM_REPLICATION_URL - you will want to set this to a closer mirror.
77
74
78
-
## Ubuntu vs Debian
79
-
`ubuntu:jammy` was selected as the base image for branch image as to begin testing the lastest LTS release. Versions that are included below (at the time of this writing):
80
-
*`debian:bullseye-slim`
81
-
* 454MB Image for `n7m-app`
82
-
* Python 3.9.2, PHP 7.4.28, psql 13.7
83
-
*`ubuntu:focal`
84
-
* 485MB Image for `n7m-app`
85
-
* Python 3.8.10, PHP 7.4.3, psql 12.11
86
-
*`debian:bookworm-slim` (not released)
87
-
* 501MB Image for `n7m-app`
88
-
* Python 3.10.5, PHP 8.1.5, psql 14.4
89
-
*`ubuntu:jammy`
90
-
* 528MB Image for `n7m-app`
91
-
* Python 3.10.4, PHP 8.1.2, psql 14.3
92
-
93
75
## Advanced Tokenizer
94
76
This image only uses the ICU Tokenizer. By default the included `tokenizer.php` file drives the PHP code and has a simple English tokenizer.
95
77
@@ -109,8 +91,3 @@ To run n7m in AWS, the minimum EC2 Instance sizing is:
109
91
* Storage: 500GB SSD (270G required for North America)
110
92
111
93
Note: At 16 GB RAM, `t3.xlarge` is too small and runs out of memory for osm2pgsql during a North America test.
0 commit comments