1
1
version : ' 3'
2
2
services :
3
- # #####################################################
4
- # ## OSM API and Database section
5
- # #####################################################
3
+ # ###################################################
4
+ # OSM API and Database section
5
+ # ###################################################
6
6
db :
7
7
image : osmseed-db:v1
8
8
build :
@@ -26,17 +26,17 @@ services:
26
26
- ./envs/.env.db
27
27
depends_on :
28
28
- db
29
- # # #####################################################
30
- # # ## OSM processor and also use this image as base for other containers
31
- # # #####################################################
29
+ # #####################################################
30
+ # ## OSM processor and also use this image as base for other containers
31
+ # #####################################################
32
32
osm-processor :
33
33
image : osmseed-osm-processor:v1
34
34
build :
35
35
context : ./images/osm-processor
36
36
dockerfile : Dockerfile
37
- # # #####################################################
38
- # # ## Planet replication section
39
- # # #####################################################
37
+ # #####################################################
38
+ # ## Planet replication section
39
+ # #####################################################
40
40
planet-dump :
41
41
image : osmseed-planet-dump:v1
42
42
build :
@@ -56,9 +56,9 @@ services:
56
56
- ./envs/.env.cloudprovider
57
57
depends_on :
58
58
- db
59
- # #####################################################
60
- # ## OSM Database backup and restore section
61
- # #####################################################
59
+ # ####################################################
60
+ # # OSM Database backup and restore section
61
+ # ####################################################
62
62
db-backup-restore :
63
63
image : osmseed-backup-restore:v1
64
64
build :
@@ -78,9 +78,9 @@ services:
78
78
- ./envs/.env.cloudprovider
79
79
depends_on :
80
80
- db
81
- # # #####################################################
82
- # # ## OSM minute replication files section
83
- # # #####################################################
81
+ # #####################################################
82
+ # ## OSM minute replication files section
83
+ # #####################################################
84
84
replication-job :
85
85
image : osmseed-replication-job:v1
86
86
build :
@@ -93,16 +93,17 @@ services:
93
93
echo Sleep the replication-job for 1 minute;
94
94
sleep 1m;
95
95
echo Creating the replication files!;
96
- /start.sh"
96
+ /start.sh
97
+ "
97
98
env_file :
98
99
- ./envs/.env.db
99
100
- ./envs/.env.replication-job
100
101
- ./envs/.env.cloudprovider
101
102
depends_on :
102
103
- db
103
- # #####################################################
104
- # ## OSM full planet replication
105
- # #####################################################
104
+ # ####################################################
105
+ # # OSM full planet replication
106
+ # ####################################################
106
107
full-history :
107
108
image : osmseed-full-history:v1
108
109
build :
@@ -122,147 +123,158 @@ services:
122
123
- ./envs/.env.cloudprovider
123
124
depends_on :
124
125
- db
125
- # # #####################################################
126
- # # ## Populate apidb from PBF file
127
- # # #####################################################
126
+ # #####################################################
127
+ # ## Populate apidb from PBF file
128
+ # #####################################################
128
129
populate-apidb :
129
130
image : osmseed-populate-apidb:v1
130
131
build :
131
132
context : ./images/populate-apidb
132
133
dockerfile : Dockerfile
133
134
volumes :
134
135
- ./data/populate-apidb-data:/mnt/data
135
- depends_on :
136
- - db
137
136
command : >
138
137
/bin/bash -c "
139
- echo Sleep for a while populate-apidb!;
140
- sleep 4m;
141
- echo Starting populate-apidb!;
142
- /start.sh"
138
+ echo Sleep for a while populate-apidb!;
139
+ sleep 4m;
140
+ echo Starting populate-apidb!;
141
+ /start.sh
142
+ "
143
143
env_file :
144
144
- ./envs/.env.db
145
145
- ./envs/.env.populate-apidb
146
146
# ######################################################
147
- # ### Tiler server(tegola), Database and imposm section
147
+ # ### Tiler DB
148
148
# ######################################################
149
- # tiler-db:
150
- # image: osmseed-tiler-db:v1
151
- # build:
152
- # context: ./images/tiler-db
153
- # dockerfile: Dockerfile
154
- # ports:
155
- # - "5433:5432"
156
- # volumes:
157
- # - ./postgres-gis-data:/var/lib/postgresql/data
158
- # env_file:
159
- # - ./.env-tiler
160
- # tiler-imposm:
161
- # image: osmseed-tiler-imposm:v1
162
- # build:
163
- # context: ./images/tiler-imposm
164
- # dockerfile: Dockerfile
165
- # volumes:
166
- # - ./tiler-imposm-data:/mnt/data
167
- # depends_on:
168
- # - tiler-db
169
- # env_file:
170
- # - ./.env-tiler
171
- # command: >
172
- # /bin/bash -c "
173
- # echo Sleep for a while!;
174
- # sleep 20;
175
- # echo starting imposm!;
176
- # ./start.sh"
177
- # tiler-server:
178
- # image: osmseed-tiler-server:v1
179
- # build:
180
- # context: ./images/tiler-server
181
- # dockerfile: Dockerfile
182
- # env_file:
183
- # - ./.env-tiler
184
- # volumes:
185
- # - ./tiler-server-data:/mnt/data
186
- # depends_on:
187
- # - tiler-db
188
- # - tiler-imposm
189
- # ports:
190
- # - "9090:9090"
191
- # command: >
192
- # /bin/bash -c "
193
- # echo Sleep for a while!;
194
- # sleep 100;
195
- # echo Starting tiles server!;
196
- # ./start.sh"
149
+ tiler-db :
150
+ image : osmseed-tiler-db:v1
151
+ build :
152
+ context : ./images/tiler-db
153
+ dockerfile : Dockerfile
154
+ ports :
155
+ - " 5433:5432"
156
+ volumes :
157
+ - ./data/tiler-db-data:/var/lib/postgresql/data
158
+ env_file :
159
+ - ./envs/.env.tiler-db
197
160
# ######################################################
198
- # ### Nominatim section
161
+ # ### Tiler imposm for importing data
199
162
# ######################################################
200
- # nominatim-db:
201
- # image: nominatim-db:v1
202
- # build:
203
- # context: ./images/nominatim
204
- # dockerfile: Dockerfile
205
- # ports:
206
- # - '6432:5432'
207
- # volumes:
208
- # - ./nominatim-pgdata:/var/lib/postgresql/data
209
- # env_file:
210
- # - ./.env-nominatim
211
- # command: >
212
- # /bin/bash -c "sh /app/start.sh"
213
- # nominatim-api:
214
- # image: nominatim-api:v1
215
- # build:
216
- # context: ./images/nominatim
217
- # dockerfile: Dockerfile
218
- # ports:
219
- # - '7070:8080'
220
- # env_file:
221
- # - ./.env-nominatim
222
- # entrypoint: sh /app/startapache.sh
163
+ tiler-imposm :
164
+ image : osmseed-tiler-imposm:v1
165
+ build :
166
+ context : ./images/tiler-imposm
167
+ dockerfile : Dockerfile
168
+ volumes :
169
+ - ./data/tiler-imposm-data:/mnt/data
170
+ depends_on :
171
+ - tiler-db
172
+ command : >
173
+ /bin/bash -c "
174
+ echo starting imposm!;
175
+ sleep 1m;
176
+ ./start.sh;
177
+ "
178
+ env_file :
179
+ - ./envs/.env.tiler-db
180
+ - ./envs/.env.tiler-imposm
223
181
# ######################################################
224
- # ### Overpass API section
182
+ # ### Tiler imposm for importing data
225
183
# ######################################################
226
- # overpass-api:
227
- # image: osmseed-overpass-api:v1
228
- # build:
229
- # context: ./images/overpass-api
230
- # dockerfile: Dockerfile
231
- # ports:
232
- # - '8081:80'
233
- # volumes:
234
- # - ./overpass-api-db:/db
235
- # env_file:
236
- # - ./.env-overpass
184
+ tiler-server :
185
+ image : osmseed-tiler-server:v1
186
+ build :
187
+ context : ./images/tiler-server
188
+ dockerfile : Dockerfile
189
+ volumes :
190
+ - ./data/tiler-server-data:/mnt/data
191
+ depends_on :
192
+ - tiler-db
193
+ - tiler-imposm
194
+ ports :
195
+ - " 9090:9090"
196
+ command : >
197
+ /bin/bash -c "
198
+ echo Starting tiles server!;
199
+ sleep 2m;
200
+ ./start.sh;
201
+ "
202
+ env_file :
203
+ - ./envs/.env.tiler-db
204
+ - ./envs/.env.tiler-server
205
+ # ####################################################
206
+ # # Nominatim DB-API section
207
+ # ####################################################
208
+ nominatim-db :
209
+ image : nominatim-db:v1
210
+ build :
211
+ context : ./images/nominatim
212
+ dockerfile : Dockerfile
213
+ ports :
214
+ - ' 5434:5432'
215
+ volumes :
216
+ - ./data/nominatim-db-data:/var/lib/postgresql/data
217
+ command : >
218
+ /bin/bash -c "
219
+ sh /app/start.sh
220
+ "
221
+ env_file :
222
+ - ./envs/.env.nominatim
223
+ nominatim-api :
224
+ image : nominatim-api:v1
225
+ build :
226
+ context : ./images/nominatim
227
+ dockerfile : Dockerfile
228
+ ports :
229
+ - ' 7070:8080'
230
+ env_file :
231
+ - ./.env.nominatim
232
+ entrypoint : sh /app/startapache.sh
233
+ env_file :
234
+ - ./envs/.env.nominatim
235
+ # #####################################################
236
+ # ## Overpass API section
237
+ # #####################################################
238
+ overpass-api :
239
+ image : osmseed-overpass-api:v1
240
+ build :
241
+ context : ./images/overpass-api
242
+ dockerfile : Dockerfile
243
+ ports :
244
+ - ' 8081:80'
245
+ volumes :
246
+ - ./data/overpass-api-db:/db
247
+ env_file :
248
+ - ./envs/.env.overpass
237
249
238
- # # #####################################################
239
- # # ## Tasking Manager section
240
- # # #####################################################
241
- # tasking-manager-api:
242
- # image: osmseed-tasking-manager-api:v1
243
- # build:
244
- # context: ./images/tasking-manager-api
245
- # dockerfile: Dockerfile
246
- # ports:
247
- # - '5000:5000'
248
- # volumes:
249
- # - ./tasking-manager-api-db:/db
250
- # env_file:
251
- # - ./.env- tasking-manager
252
- # # # ####################################################
253
- # # # # Taginfo section
254
- # # # ####################################################
255
- # taginfo:
256
- # image: osmseed-taginfo:v1
257
- # build:
258
- # context: ./images/taginfo
259
- # dockerfile: Dockerfile
260
- # ports:
261
- # - '4567:80'
262
- # volumes:
263
- # - ./taginfo-data:/apps/data/
264
- # env_file:
265
- # - ./.env-taginfo
266
- # command: >
267
- # /bin/bash -c "
268
- # ./start.sh"
250
+ # #####################################################
251
+ # ## Tasking Manager section
252
+ # #####################################################
253
+ tasking-manager-api :
254
+ image : osmseed-tasking-manager-api:v1
255
+ build :
256
+ context : ./images/tasking-manager-api
257
+ dockerfile : Dockerfile
258
+ ports :
259
+ - ' 5000:5000'
260
+ volumes :
261
+ - ./data /tasking-manager-api-db:/db
262
+ env_file :
263
+ - ./envs/ .env. tasking-manager
264
+ # #####################################################
265
+ # ## Taginfo section
266
+ # #####################################################
267
+ taginfo :
268
+ image : osmseed-taginfo:v1
269
+ build :
270
+ context : ./images/taginfo
271
+ dockerfile : Dockerfile
272
+ ports :
273
+ - ' 4567:80'
274
+ volumes :
275
+ - ./data /taginfo-data:/apps/data/
276
+ command : >
277
+ /bin/bash -c "
278
+ ./start.sh"
279
+ env_file :
280
+ - ./envs/.env.taginfo
0 commit comments