forked from smithmicro/n7m
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (52 loc) · 1.09 KB
/
docker-compose.yml
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
52
53
version: '2'
services:
web:
build: web
image: smithmicro/n7m-web:4.3
restart: always
ports:
- "8080:80"
depends_on:
- app
- ui
mem_limit: 100m
ui:
build: ui
image: smithmicro/n7m-ui:3.4
restart: always
mem_limit: 100m
app:
build: app
image: smithmicro/n7m-app:4.3
#restart: always
environment:
- PGPASSWORD=n7m-geocoding
- WEB_CONCURRENCY=2
depends_on:
- gis
mem_limit: 200m
feed:
image: smithmicro/n7m-app:4.3
depends_on:
- gis
environment:
- PGPASSWORD=n7m-geocoding
- OSM_FILENAME=monaco-latest.osm.pbf
- NOMINATIM_REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates
- NOMINATIM_REPLICATION_MAX_DIFF=3000
- NOMINATIM_REPLICATION_UPDATE_INTERVAL=86400
command: setup
volumes:
- ./data:/data/
gis:
build: gis
image: smithmicro/n7m-gis:15
restart: always
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=n7m-geocoding
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: