forked from osm2vectortiles/osm2vectortiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
177 lines (177 loc) · 3.88 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
pgdata:
image: "tianon/true"
volumes:
- /var/lib/postgresql/data
rabbitdata:
image: "tianon/true"
volumes:
- /var/lib/rabbitmq
cache:
image: "tianon/true"
volumes:
- /data/cache
postgis:
image: "osm2vectortiles/postgis"
volumes_from:
- pgdata
ports:
- "5432"
import-osm:
image: "osm2vectortiles/import-osm"
command: ./import-pbf.sh
volumes:
- ./import:/data/import
volumes_from:
- cache
links:
- postgis:db
environment:
DIFFS: 'true'
import-osm-diff:
image: "osm2vectortiles/import-osm"
command: ./import-diff.sh
volumes:
- ./import:/data/import
- ./src/import-osm:/usr/src/app
volumes_from:
- cache
links:
- postgis:db
update-osm-diff:
image: "osm2vectortiles/import-osm"
command: ./import-osmupdate.sh
volumes:
- ./import:/data/import
environment:
OSM_UPDATE_BASEURL: "http://download.geofabrik.de/europe/liechtenstein-updates/"
merge-osm-diff:
image: "osm2vectortiles/import-osm"
command: ./import-mergediffs.sh
volumes:
- ./import:/data/import
import-external:
image: "osm2vectortiles/import-external"
links:
- postgis:db
import-labels:
image: "osm2vectortiles/import-external"
command: ./import-labels.sh
links:
- postgis:db
import-natural-earth:
image: "osm2vectortiles/import-external"
command: ./import-natural-earth.sh
links:
- postgis:db
import-water:
image: "osm2vectortiles/import-external"
command: ./import-water.sh
links:
- postgis:db
changed-tiles:
image: "osm2vectortiles/changed-tiles"
volumes:
- ./export:/data/export
links:
- postgis:db
generate-jobs:
image: "osm2vectortiles/generate-jobs"
volumes:
- ./export:/data/export
links:
- rabbitmq:rabbitmq
generate-diff-jobs:
image: "osm2vectortiles/generate-jobs"
command: ./generate_list_jobs.sh
volumes:
- ./export:/data/export
links:
- rabbitmq:rabbitmq
merge-jobs:
image: "osm2vectortiles/merge-jobs"
volumes:
- ./export:/data/export
links:
- rabbitmq:rabbitmq
export-worker:
image: "osm2vectortiles/export"
command: ./export-worker.sh
volumes:
- ./osm2vectortiles.tm2source:/data/tm2source
links:
- postgis:db
- rabbitmq:rabbitmq
environment:
AWS_ACCESS_KEY_ID: "${AWS_ACCESS_KEY_ID}"
AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}"
AWS_S3_HOST: "${AWS_S3_HOST}"
BUCKET_NAME: "osm2vectortiles-testing"
RENDER_TIMEOUT: "300"
TILE_TIMEOUT: "1800000"
export:
image: "osm2vectortiles/export"
command: ./export-local.sh
volumes:
- ./export:/data/export
- ./osm2vectortiles.tm2source:/data/tm2source
links:
- postgis:db
environment:
# Around zurich
BBOX: "-22.5,79.6871841545,-21.09375,79.9359182463"
MIN_ZOOM: "0"
MAX_ZOOM: "14"
export-list:
image: "osm2vectortiles/export"
command: ./export-list.sh
volumes:
- ./export:/data/export
- ./osm2vectortiles.tm2source:/data/tm2source
links:
- postgis:db
import-sql:
image: "osm2vectortiles/import-sql"
links:
- postgis:db
environment:
SQL_CREATE_INDIZES: 'false'
mapbox-studio:
image: "osm2vectortiles/mapbox-studio"
volumes:
- ./osm2vectortiles.tm2source:/projects/osm2vectortiles.tm2source
links:
- postgis:db
ports:
- "3000:3000"
rabbitmq:
image: "osm2vectortiles/rabbitmq:management"
ports:
- "15672"
- "5672"
volumes_from:
- rabbitdata
environment:
RABBITMQ_DEFAULT_USER: "osm"
RABBITMQ_DEFAULT_PASS: "osm"
RABBITMQ_HEARTBEAT: "600"
create-extracts:
image: "osm2vectortiles/create-extracts"
volumes:
- ./export:/data/export
environment:
S3_ACCESS_KEY: "${AWS_ACCESS_KEY_ID}"
S3_SECRET_KEY: "${AWS_SECRET_ACCESS_KEY}"
compare-visual:
image: "osm2vectortiles/compare-visual"
ports:
- "3030:3030"
volumes:
- ./osm2vectortiles.tm2source:/data/tm2source
links:
- postgis:db
mapping-qa-report:
image: "osm2vectortiles/mapping-qa-report"
links:
- postgis:db
volumes:
- ./export:/data