-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-integration.yml
131 lines (127 loc) · 4.37 KB
/
docker-compose-integration.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
#
# Technoplatz BI
#
# Copyright (C) 2019-2024 Technoplatz IT Solutions GmbH, Mustafa Mat
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see https://www.gnu.org/licenses.
#
# If your software can interact with users remotely through a computer
# network, you should also make sure that it provides a way for users to
# get its source. For example, if your program is a web application, its
# interface could display a "Source" link that leads users to an archive
# of the code. There are many ways you could offer source, and different
# solutions will be better for different programs; see section 13 for the
# specific requirements.
#
# You should also get your employer (if you work as a programmer) or school,
# if any, to sign a "copyright disclaimer" for the program, if necessary.
# For more information on this, and how to apply and follow the GNU AGPL, see
# https://www.gnu.org/licenses.
#
services:
cloudflare:
build:
context: ./_integration/cloudflare
dockerfile: Dockerfile
image: technoplatz/bi-cloudflare${REF}:${VERSION}
container_name: cloudflare
hostname: cloudflare
restart: always
volumes:
- bi-cert-volume:/cert
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
labels:
- traefik.enable=false
- com.centurylinklabs.watchtower.enable=${WATCHTOWER_ENABLED}
ports:
- "8802:80"
environment:
- TZ=${TZ}
- MONGO_DB=${MONGO_DB}
- MONGO_AUTH_DB=${MONGO_AUTH_DB}
- MONGO_USERNAME=${MONGO_USERNAME}
- MONGO_PASSWORD=${MONGO_PASSWORD}
- MONGO_HOST0=${MONGO_HOST0}
- MONGO_HOST1=${MONGO_HOST1}
- MONGO_HOST2=${MONGO_HOST2}
- MONGO_PORT0=${MONGO_PORT0}
- MONGO_PORT1=${MONGO_PORT1}
- MONGO_PORT2=${MONGO_PORT2}
- MONGO_RS=${MONGO_RS}
- MONGO_TLS=${MONGO_TLS}
- MONGO_TLS_CA_KEYFILE=${MONGO_TLS_CA_KEYFILE}
- MONGO_TLS_CERT_KEYFILE=${MONGO_TLS_CERT_KEYFILE}
- MONGO_TLS_CERT_KEYFILE_PASSWORD=${MONGO_TLS_CERT_KEYFILE_PASSWORD}
- MONGO_TLS_ALLOW_INVALID_CERTIFICATES=${MONGO_TLS_ALLOW_INVALID_CERTIFICATES}
- API_ADMIN_IPS=${API_ADMIN_IPS}
env_file:
- ./_integration/cloudflare/.env-cloudflare
networks:
- network0
edoksis:
build:
context: ./_integration/edoksis
dockerfile: Dockerfile
image: technoplatz/bi-edoksis${REF}:${VERSION}
container_name: edoksis
hostname: edoksis
restart: always
volumes:
- bi-cert-volume:/cert
- bi-storage-volume:${API_TEMPFILE_PATH}
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
labels:
- traefik.enable=false
- com.centurylinklabs.watchtower.enable=${WATCHTOWER_ENABLED}
ports:
- "8801:80"
environment:
- TZ=${TZ}
- MONGO_DB=${MONGO_DB}
- MONGO_AUTH_DB=${MONGO_AUTH_DB}
- MONGO_USERNAME=${MONGO_USERNAME}
- MONGO_PASSWORD=${MONGO_PASSWORD}
- MONGO_HOST0=${MONGO_HOST0}
- MONGO_HOST1=${MONGO_HOST1}
- MONGO_HOST2=${MONGO_HOST2}
- MONGO_PORT0=${MONGO_PORT0}
- MONGO_PORT1=${MONGO_PORT1}
- MONGO_PORT2=${MONGO_PORT2}
- MONGO_RS=${MONGO_RS}
- MONGO_TLS=${MONGO_TLS}
- MONGO_TLS_CA_KEYFILE=${MONGO_TLS_CA_KEYFILE}
- MONGO_TLS_CERT_KEYFILE=${MONGO_TLS_CERT_KEYFILE}
- MONGO_TLS_CERT_KEYFILE_PASSWORD=${MONGO_TLS_CERT_KEYFILE_PASSWORD}
- MONGO_TLS_ALLOW_INVALID_CERTIFICATES=${MONGO_TLS_ALLOW_INVALID_CERTIFICATES}
- MONGO_RETRY_WRITES=${MONGO_RETRY_WRITES}
- API_TEMPFILE_PATH=${API_TEMPFILE_PATH}
env_file:
- ./_integration/edoksis/.env-edoksis
networks:
- network0
volumes:
bi-cert-volume:
name: bi-cert-volume
external: true
bi-storage-volume:
name: bi-storage-volume
external: true
networks:
network0:
name: network0
external: true
ipam:
driver: default