-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.dev.yaml
249 lines (227 loc) · 6.86 KB
/
docker-compose.dev.yaml
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
# merges with main docker-compose.yml and various service-specific compose files;
# adds in development/debug environment variables, debugpy ports
services:
web:
environment:
- NODE_ENV=development
public:
environment:
- NODE_ENV=development
ports:
- "${BENTO_PUBLIC_EXTERNAL_PORT}:${BENTO_PUBLIC_INTERNAL_PORT}"
profiles:
- public
gateway:
environment:
- BENTO_DEBUG=true
# Override network aliases, adding BENTOV2_AUTH_DOMAIN
# Other networks are inherited
networks:
aggregation-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
authz-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
beacon-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
drop-box-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
drs-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
event-relay-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
gohan-api-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
katsu-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
notification-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
monitoring-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
public-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
reference-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
service-registry-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
web-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
wes-net:
aliases:
- ${BENTOV2_DOMAIN}
- ${BENTOV2_PORTAL_DOMAIN}
- ${BENTOV2_AUTH_DOMAIN}
authz:
environment:
- BENTO_DEBUG=True
katsu:
volumes:
- ${BENTOV2_KATSU_DEV_WES_VOL_TMP_DIR}:/wes/tmp:ro
environment:
- BENTO_DEBUG=True
- CHORD_DEBUG=True
- DEBUGGER_PORT=${BENTOV2_KATSU_DEBUGGER_EXTERNAL_PORT}
ports:
- "${BENTOV2_KATSU_EXTERNAL_PORT}:${BENTOV2_KATSU_INTERNAL_PORT}"
- "${BENTOV2_KATSU_DEBUGGER_EXTERNAL_PORT}:${BENTOV2_KATSU_DEBUGGER_INTERNAL_PORT}"
katsu-db:
ports:
- "${BENTOV2_KATSU_DB_EXTERNAL_PORT}:${BENTOV2_KATSU_DB_INTERNAL_PORT}"
volumes:
- ${BENTOV2_KATSU_DB_DEV_VOL_DIR}:/var/lib/postgresql/data
adminer:
image: adminer:4.8.1
container_name: ${BENTOV2_PREFIX}-adminer
restart: unless-stopped
networks:
- authz-db-net
- katsu-db-net
- default
ports:
- 8080:8080
elasticvue:
image: cars10/elasticvue:0.44.0
container_name: ${BENTOV2_PREFIX}-elasticvue
restart: unless-stopped
networks:
- gohan-es-net
- default
ports:
- 8081:8080
aggregation:
environment:
- BENTO_DEBUG=True
- CHORD_DEBUG=True
- LOG_LEVEL=debug
- PORT=${BENTOV2_AGGREGATION_INTERNAL_PORT}
- DEBUGGER_PORT=${BENTOV2_AGGREGATION_DEBUGGER_INTERNAL_PORT}
ports:
- "${BENTOV2_AGGREGATION_EXTERNAL_PORT}:${BENTOV2_AGGREGATION_INTERNAL_PORT}"
- "${BENTOV2_AGGREGATION_DEBUGGER_EXTERNAL_PORT}:${BENTOV2_AGGREGATION_DEBUGGER_INTERNAL_PORT}"
wes:
environment:
- BENTO_DEBUG=True
- CHORD_DEBUG=True
- FLASK_DEBUG=True
- BENTO_VALIDATE_SSL=False
- DEBUGGER_PORT=${BENTOV2_WES_DEBUGGER_EXTERNAL_PORT}
volumes:
- ${BENTOV2_WES_DEV_VOL_DIR}:/wes/data
- ${BENTOV2_WES_DEV_VOL_TMP_DIR}:/wes/tmp
- ${BENTOV2_WES_DEV_DROP_BOX_VOL_DIR}:/data
ports:
- "${BENTOV2_WES_EXTERNAL_PORT}:${BENTOV2_WES_INTERNAL_PORT}"
- "${BENTOV2_WES_DEBUGGER_EXTERNAL_PORT}:${BENTOV2_WES_DEBUGGER_INTERNAL_PORT}"
drs:
environment:
- FLASK_DEBUG=True
- DEBUGGER_PORT=${BENTOV2_DRS_DEBUGGER_EXTERNAL_PORT}
ports:
- "${BENTOV2_DRS_EXTERNAL_PORT}:5000"
- "${BENTOV2_DRS_DEBUGGER_EXTERNAL_PORT}:${BENTOV2_DRS_DEBUGGER_INTERNAL_PORT}"
beacon:
environment:
- FLASK_DEBUG=True
- BENTO_DEBUG=True
- CHORD_DEBUG=True
ports:
- "${BENTO_BEACON_EXTERNAL_PORT}:${BENTO_BEACON_INTERNAL_PORT}"
- "${BENTO_BEACON_DEBUGGER_EXTERNAL_PORT}:${BENTO_BEACON_DEBUGGER_INTERNAL_PORT}"
profiles:
- beacon
service-registry:
environment:
- BENTO_DEBUG=True
- BENTO_VALIDATE_SSL=False
- LOG_LEVEL=debug
ports:
- "${BENTOV2_SERVICE_REGISTRY_EXTERNAL_PORT}:${BENTOV2_SERVICE_REGISTRY_INTERNAL_PORT}"
drop-box:
environment:
# Runtime
- BENTO_DEBUG=True
ports:
- "${BENTOV2_DROP_BOX_EXTERNAL_PORT}:${BENTOV2_DROP_BOX_INTERNAL_PORT}"
notification:
environment:
# Runtime
- FLASK_DEBUG=True
- BENTO_DEBUG=True
ports:
- "${BENTOV2_NOTIFICATION_EXTERNAL_PORT}:${BENTOV2_NOTIFICATION_INTERNAL_PORT}"
- "${BENTO_NOTIFICATION_DEBUGGER_EXTERNAL_PORT}:${BENTO_NOTIFICATION_DEBUGGER_INTERNAL_PORT}"
event-relay:
environment:
- BENTO_DEBUG=true
- NODE_ENV=development
reference:
environment:
- BENTO_DEBUG=True
- BENTO_VALIDATE_SSL=False
- LOG_LEVEL=debug
ports:
- "${BENTO_REFERENCE_EXTERNAL_PORT}:${BENTO_REFERENCE_INTERNAL_PORT}"
reference-db:
ports:
- "${BENTO_REFERENCE_DB_EXTERNAL_PORT}:5432"
gohan-elasticsearch:
# In dev / on Mac, sometimes this will trip up and decide there isn't enough disk space even when there is.
# See https://stackoverflow.com/questions/48119189/elasticsearch-6-index-change-to-read-only-after-few-second
environment:
"cluster.routing.allocation.disk.threshold_enabled": "false"
"http.cors.enabled": "true"
"http.cors.allow-origin": "http://localhost:8081"
"http.cors.allow-headers": X-Requested-With,Content-Type,Content-Length,Authorization
cbioportal:
ports:
- "${BENTO_CBIOPORTAL_EXTERNAL_PORT}:${BENTO_CBIOPORTAL_INTERNAL_PORT}"
grafana:
ports:
- "3000:3000"
environment:
# Workaround for self signed certificates in dev
- GF_AUTH_GENERIC_OAUTH_TLS_SKIP_VERIFY_INSECURE=true
loki:
ports:
- "3100:3100"