-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 1.52 KB
/
docker-compose.yml
File metadata and controls
51 lines (47 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "3"
services:
photon:
build:
context: .
dockerfile: Docker/Dockerfile_photon
args:
- photon_data=Docker/photon.tar.gz
# network: host
ports:
- "2322:2322"
libpostal:
build:
context: .
dockerfile: Docker/Dockerfile_libpostal
# network: host
ports:
- "7000:7000"
environment:
- NB_LPOST_WORKERS:1
wrapper:
build:
context: .
dockerfile: Docker/Dockerfile_wrapper
# network: host
ports:
- "5000:5000"
environment:
- NB_WORKERS=8
- PHOTON_HOST=photon:2322
- LPOST_HOST=libpostal:7000
- OSM_HOST=172.27.0.64:8080 # If Nominatim is running on the same machine with port forwarding 8080->8080, this will typically the IP of the host machine (not the IP of the Docker container)
- LOG_LEVEL=low
- TIMING=no
- FASTMODE=yes
# - TRANSFORMERS=[ ["orig"],
# ["regex[init]"],
# ["nonum"],
# ["libpostal", "regex[lpost]"],
# ["libpostal", "regex[lpost]", "nonum"],
# ["libpostal", "regex[lpost]", "photon"],
# ["libpostal", "regex[lpost]", "photon", "nonum"],
# ["photon"],
# ["photon", "nonum"],
# ["libpostal", "nostreet"],
# ["nostreet"]
# ]