-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
49 lines (49 loc) · 1.04 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
services:
web:
build: web
image: smithmicro/n7m-web
restart: always
ports:
- "8080:80"
depends_on:
- api
- ui
mem_limit: 100m
ui:
build: ui
image: smithmicro/n7m-ui
restart: always
mem_limit: 100m
api:
build: api
image: smithmicro/n7m-api
restart: always
environment:
- PGPASSWORD=n7m-geocoding
- WEB_CONCURRENCY=2
depends_on:
- gis
mem_limit: 200m
feed:
build: feed
image: smithmicro/n7m-feed
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
volumes:
- ./data:/data/
gis:
build: gis
image: smithmicro/n7m-gis
restart: always
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=n7m-geocoding
volumes:
- ./pgdata:/var/lib/postgresql/data