1
1
version : ' 3'
2
2
services :
3
- web :
4
- image : osmseed-openstreetmap-website:v1
5
- build :
6
- context : ./openstreetmap-website
7
- dockerfile : Dockerfile
8
- ports :
9
- - " 80:80"
10
- env_file :
11
- - ./.env
12
- depends_on :
13
- - db
14
- db :
15
- image : osmseed-db:v1
16
- build :
17
- context : ./db
18
- dockerfile : Dockerfile
19
- ports :
20
- - " 5432:5432"
21
- volumes :
22
- - ./postgres-data:/var/lib/postgresql/data
23
- env_file :
24
- - ./.env
25
- planet-dump :
26
- image : osmseed-planet-dump:v1
27
- build :
28
- context : ./planet-dump
29
- dockerfile : Dockerfile
30
- depends_on :
31
- - db
32
- volumes :
33
- - ./planet-dump-data:/app
34
- command : >
35
- /bin/bash -c "
36
- echo Sleep the planet-dump for a while!;
37
- sleep 40;
38
- echo Creating the planet-dump!;
39
- ./start.sh"
40
- env_file :
41
- - ./.env
42
- db-backup-restore :
43
- image : osmseed-db-backup-restore:v1
44
- build :
45
- context : ./db-backup-restore
46
- dockerfile : Dockerfile
47
- depends_on :
48
- - db
49
- command : >
50
- /bin/bash -c "
51
- echo Sleep for a while!;
52
- sleep 20;
53
- echo Building backup!;
54
- ./start.sh"
55
- env_file :
56
- - ./.env
57
- replication-job :
58
- image : osmseed-replication-job:v1
59
- build :
60
- context : ./replication-job
61
- dockerfile : Dockerfile
62
- volumes :
63
- - ./replication-job:/mnt/data
64
- depends_on :
65
- - db
66
- command : >
67
- /bin/bash -c "
68
- echo Sleep the replication-job for a while!;
69
- sleep 40;
70
- echo Creating the replication-job!;
71
- ./start.sh"
72
- env_file :
73
- - ./.env
74
- populate-apidb :
75
- image : osmseed-populate-apidb:v1
76
- build :
77
- context : ./populate-apidb
78
- dockerfile : Dockerfile
79
- volumes :
80
- - ./populate-apidb-data:/app/data
81
- depends_on :
82
- - db
83
- command : >
84
- /bin/bash -c "
85
- echo Sleep for a while populate-apidb!;
86
- sleep 70s;
87
- echo Starting populate-apidb!;
88
- ./start.sh"
89
- env_file :
90
- - ./.env
91
- osm-processor :
92
- image : osmseed-osm-processor:v1
93
- build :
94
- context : ./osm-processor
95
- dockerfile : Dockerfile
96
- env_file :
97
- - ./.env
98
- full-history :
99
- image : osmseed-full-history:v1
100
- build :
101
- context : ./full-history
102
- dockerfile : Dockerfile
103
- depends_on :
104
- - web
105
- - db
106
- volumes :
107
- - ./full-history-data:/mnt/data
108
- command : >
109
- /bin/bash -c "
110
- echo Sleep full-history for a while!;
111
- sleep 40;
112
- echo Starting full-history!;
113
- ./start.sh"
114
- env_file :
115
- - ./.env
116
- # #=========================================================================
3
+ # =========================================================================
117
4
# OMS-SEED-TILER section
118
5
# =========================================================================
119
6
tiler-db :
120
7
image : osmseed-tiler-db:v1
121
8
build :
122
- context : ./tiler-db
9
+ context : ./images/ tiler-db
123
10
dockerfile : Dockerfile
124
11
ports :
125
12
- " 5433:5432"
@@ -130,7 +17,7 @@ services:
130
17
tiler-imposm :
131
18
image : osmseed-tiler-imposm:v1
132
19
build :
133
- context : ./tiler-imposm
20
+ context : ./images/ tiler-imposm
134
21
dockerfile : Dockerfile
135
22
volumes :
136
23
- ./tiler-imposm-data:/mnt/data
@@ -147,7 +34,7 @@ services:
147
34
tiler-server :
148
35
image : osmseed-tiler-server:v1
149
36
build :
150
- context : ./tiler-server
37
+ context : ./images/ tiler-server
151
38
dockerfile : Dockerfile
152
39
volumes :
153
40
- ./tiler-server-data:/mnt/data
0 commit comments