-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
321 lines (321 loc) · 8.82 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
name: pantheon
volumes:
datavolume02: {}
backupvolume01: {}
configvolume01: {}
gullveigstorage01: {}
grafanastorage01: {}
prometheusdata:
pgadmindata:
networks:
internal_net:
driver: bridge
attachable: true
services:
hermod.pantheon.internal:
build: ./Hermod
image: ghcr.io/mahjongpantheon/pantheon-hermod:latest
hostname: ${ALLOWED_SENDER_DOMAINS:-pantheon-hermod.local}
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4009:80"
- "127.0.0.1:9105:9105"
volumes:
- ./Hermod/www:/var/www/html/Hermod
- ./Hermod/opendkim_keys:/etc/opendkim/keys
networks:
internal_net:
aliases:
- hermod.pantheon.local
- hermod.pantheon.internal
skirnir.pantheon.internal:
build: ./Skirnir
image: ghcr.io/mahjongpantheon/pantheon-skirnir:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4015:80"
- "127.0.0.1:9109:9109"
volumes:
- ./Skirnir:/var/www/html/Skirnir
- ./Skirnir-dist:/var/www/html/Skirnir-dist
- ./Common:/var/www/html/Common
networks:
internal_net:
aliases:
- skirnir.pantheon.local
- skirnir.pantheon.internal
db.pantheon.internal:
build: ./Database
image: ghcr.io/mahjongpantheon/pantheon-database:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "5532:5432"
- "127.0.0.1:9111:9111"
volumes:
- datavolume02:/var/lib/postgresql/data
- configvolume01:/var/lib/postgresql/.ssh
- backupvolume01:/var/lib/postgresql/backup
networks:
internal_net:
aliases:
- db.pantheon.local
- db.pantheon.internal
pgadmin.pantheon.internal:
image: docker.io/dpage/pgadmin4:8.11
ports:
- "127.0.0.1:5632:80"
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "password"
PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION: "False"
volumes:
- pgadmindata:/var/lib/pgadmin
networks:
internal_net:
aliases:
- pga.pantheon.local
- pga.pantheon.internal
tyr.pantheon.internal:
build: ./Tyr
image: ghcr.io/mahjongpantheon/pantheon-tyr:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4003:80"
- "127.0.0.1:9110:9110"
depends_on:
- frey.pantheon.internal
- mimir.pantheon.internal
volumes:
- ./Tyr:/var/www/html/Tyr
- ./Tyr-dist:/var/www/html/Tyr-dist
- ./Common:/var/www/html/Common
networks:
internal_net:
aliases:
- tyr.pantheon.local
- tyr.pantheon.internal
forseti.pantheon.internal:
build: ./Forseti
image: ghcr.io/mahjongpantheon/pantheon-forseti:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4007:80"
- "127.0.0.1:9102:9102"
depends_on:
- frey.pantheon.internal
- mimir.pantheon.internal
volumes:
- ./Forseti:/var/www/html/Forseti
- ./Forseti-dist:/var/www/html/Forseti-dist
- ./Common:/var/www/html/Common
networks:
internal_net:
aliases:
- forseti.pantheon.local
- forseti.pantheon.internal
mimir.pantheon.internal:
build: ./Mimir
image: ghcr.io/mahjongpantheon/pantheon-mimir:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4001:80"
- "127.0.0.1:9107:9107"
depends_on:
- frey.pantheon.internal
- db.pantheon.internal
- skirnir.pantheon.internal
volumes:
- ./Mimir:/var/www/html/Mimir
- ./Common:/var/www/html/Common
environment:
PHINX_DB_PORT: 5432
PHINX_DB_HOST: db.pantheon.internal
networks:
internal_net:
aliases:
- mimir.pantheon.local
- mimir.pantheon.internal
frey.pantheon.internal:
build: ./Frey
image: ghcr.io/mahjongpantheon/pantheon-frey:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4004:80"
- "127.0.0.1:9103:9103"
depends_on:
- db.pantheon.internal
- hermod.pantheon.internal
volumes:
- ./Frey:/var/www/html/Frey
- ./Common:/var/www/html/Common
environment:
PHINX_DB_FREY_PORT: 5432
PHINX_DB_FREY_HOST: db.pantheon.internal
networks:
internal_net:
aliases:
- frey.pantheon.local
- frey.pantheon.internal
sigrun.pantheon.internal:
build: ./Sigrun
image: ghcr.io/mahjongpantheon/pantheon-sigrun:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4002:80"
- "127.0.0.1:9108:9108"
depends_on:
- frey.pantheon.internal
- mimir.pantheon.internal
volumes:
- ./Sigrun:/var/www/html/Sigrun
- ./Sigrun-dist:/var/www/html/Sigrun-dist
- ./Common:/var/www/html/Common
networks:
internal_net:
aliases:
- sigrun.pantheon.local
- sigrun.pantheon.internal
hugin.pantheon.internal:
build: ./Hugin
image: ghcr.io/mahjongpantheon/pantheon-hugin:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4010:80"
- "127.0.0.1:9100:9100"
depends_on:
- db.pantheon.internal
- hermod.pantheon.internal
- tyr.pantheon.internal
- forseti.pantheon.internal
- mimir.pantheon.internal
- frey.pantheon.internal
- gullveig.pantheon.internal
- sigrun.pantheon.internal
- bragi.pantheon.internal
- skirnir.pantheon.internal
volumes:
- ./Hugin:/var/www/html/Hugin
- ./Common:/var/www/html/Common
- prometheusdata:/var/lib/prometheus
environment:
PHINX_DB_HUGIN_PORT: 5432
PHINX_DB_HUGIN_HOST: db.pantheon.internal
networks:
internal_net:
aliases:
- hugin.pantheon.local
- munin.pantheon.local
- hugin.pantheon.internal
- munin.pantheon.internal
gullveig.pantheon.internal:
build: ./Gullveig
image: ghcr.io/mahjongpantheon/pantheon-gullveig:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4012:80"
- "127.0.0.1:9104:9104"
volumes:
- ./Gullveig:/var/www/html/Gullveig
- ./Common:/var/www/html/Common
- gullveigstorage01:/var/storage
networks:
internal_net:
aliases:
- gullveig.pantheon.local
- gullveig.pantheon.internal
bragi.pantheon.internal:
build: ./Bragi
image: ghcr.io/mahjongpantheon/pantheon-bragi:latest
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4008:80"
- "127.0.0.1:9101:9101"
volumes:
- ./Bragi:/var/www/html/Bragi
- ./Bragi-dist:/var/www/html/Bragi-dist
- ./Common:/var/www/html/Common
networks:
internal_net:
aliases:
- bragi.pantheon.local
- bragi.pantheon.internal
fenrir.pantheon.internal:
build: ./Fenrir
image: ghcr.io/mahjongpantheon/pantheon-fenrir:latest
profiles:
- donotstart
env_file:
- ./Env/${ENV_FILENAME:-.env.production}
ports:
- "127.0.0.1:4017:80"
depends_on:
- db.pantheon.internal
- hermod.pantheon.internal
- tyr.pantheon.internal
- forseti.pantheon.internal
- mimir.pantheon.internal
- frey.pantheon.internal
- sigrun.pantheon.internal
- gullveig.pantheon.internal
- skirnir.pantheon.internal
volumes:
- ./Fenrir:/var/www/html/Fenrir
- ./Common:/var/www/html/Common
networks:
internal_net:
aliases:
- fenrir.pantheon.local
- fenrir.pantheon.internal
cadvisor.pantheon.internal:
image: gcr.io/cadvisor/cadvisor:latest
ports:
- 8080:8080
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
networks:
internal_net:
aliases:
- cadvisor.pantheon.local
- cadvisor.pantheon.internal
dbwatcher.pantheon.internal:
image: quay.io/prometheuscommunity/postgres-exporter:latest
user: root
ports:
- 9187:9187
environment:
- DATA_SOURCE_URI=db.pantheon.internal/postgres?sslmode=disable
- DATA_SOURCE_USER=postgres
- DATA_SOURCE_PASS=pgpass
depends_on:
- db.pantheon.internal
networks:
internal_net:
aliases:
- dbwatcher.pantheon.local
- dbwatcher.pantheon.internal
grafana.pantheon.internal:
image: grafana/grafana-oss:latest
restart: unless-stopped
ports:
- "127.0.0.1:3000:3000"
volumes:
- 'grafanastorage01:/var/lib/grafana'
networks:
internal_net:
aliases:
- grafana.pantheon.local
- grafana.pantheon.internal