-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
136 lines (136 loc) · 3.64 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
version: '2'
networks:
pelias:
driver: bridge
volumes:
libpostaldata:
driver: local
services:
baseimage:
image: pelias/baseimage
container_name: pelias_baseimage
build: baseimage
libpostal_baseimage:
image: pelias/libpostal_baseimage
container_name: pelias_libpostal_baseimage
build: libpostal_baseimage
schema:
depends_on: [ "baseimage" ]
image: pelias/schema
container_name: pelias_schema
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
api:
depends_on: [ "baseimage", "libpostal_baseimage" ]
image: pelias/api
container_name: pelias_api
restart: always
environment: [ "PORT=4000" ]
ports: [ "4000:4000" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "libpostaldata:/usr/share/libpostal"
placeholder:
depends_on: [ "baseimage" ]
image: pelias/placeholder
container_name: pelias_placeholder
restart: always
environment: [ "PORT=4100" ]
ports: [ "4100:4100" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
whosonfirst:
depends_on: [ "baseimage" ]
image: pelias/whosonfirst
container_name: pelias_whosonfirst
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
openstreetmap:
depends_on: [ "baseimage" ]
image: pelias/openstreetmap
container_name: pelias_openstreetmap
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
openaddresses:
depends_on: [ "baseimage" ]
image: pelias/openaddresses
container_name: pelias_openaddresses
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
transit:
depends_on: [ "baseimage" ]
image: opentransittools/pelias.transit.loader
container_name: pelias_transit
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
polylines:
depends_on: [ "baseimage" ]
image: pelias/polylines
container_name: pelias_polylines
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
interpolation:
depends_on: [ "baseimage", "libpostal_baseimage" ]
image: pelias/interpolation
container_name: pelias_interpolation
restart: always
environment: [ "PORT=4300" ]
ports: [ "4300:4300" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "libpostaldata:/usr/share/libpostal"
- "${DATA_DIR}:/data"
pip-service:
depends_on: [ "baseimage" ]
image: pelias/pip-service
container_name: pelias_pip-service
restart: always
environment: [ "PORT=4200" ]
ports: [ "4200:4200" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
document-service:
depends_on: [ "baseimage" ]
image: pelias/document-service
container_name: pelias_document-service
restart: always
ports: [ "5000:5000" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
elasticsearch:
image: pelias/elasticsearch
container_name: pelias_elasticsearch
build: elasticsearch/2.4
restart: always
ports: [ "9200:9200", "9300:9300" ]
networks: [ "pelias" ]
volumes:
- "${DATA_DIR}/elasticsearch:/usr/share/elasticsearch/data"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
mem_limit: 1g
cap_add: [ "IPC_LOCK" ]