-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
39 lines (36 loc) · 954 Bytes
/
docker-compose.yaml
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
name: airmail
services:
osmx:
image: osmx:latest
build:
context: airmail_indexer
dockerfile: ./Dockerfile.osmx
stop_signal: KILL
restart: "no"
volumes:
- ./data:/data:z
command: expand /data/australia-latest.osm.pbf /data/australia-latest.osm.osmx
indexer:
image: indexer:latest
build:
context: ./
dockerfile: ./airmail_indexer/Dockerfile
stop_signal: KILL
restart: "no"
volumes:
- ./data:/data:z
command: indexer --wof-db /data/whosonfirst-data-admin-latest.spatial.db --index /data/index/ --admin-cache /data/admin-cache load-osm-pbf /data/australia-oceania-latest.osm.pbf
airmail:
image: airmail:latest
build:
context: ./
dockerfile: ./Dockerfile
environment:
AIRMAIL_BIND: "0.0.0.0:3000"
stop_signal: KILL
restart: "no"
volumes:
- ./data:/data:z
ports:
- 3000:3000
command: --index /data/index/