forked from alexeevna/Medical-Web-App
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
229 lines (214 loc) · 5.09 KB
/
docker-compose.yml
File metadata and controls
229 lines (214 loc) · 5.09 KB
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
version: "3.5"
services:
orchestrator:
image: belobog/mirforchestrator1
environment:
- SERVER_PORT=5011
- MEDICAL_WEB_APP_URL=medwebapp
- MEDICAL_WEB_APP_PORT=7999
# - MEDICAL_WEB_APP_URL_SUCCESS=medwebapp:80/api/mirf/mirfSuccess
ports:
- "5011:5011"
networks:
- app_net
# ecgreaderblock:
# image: ashvyrkova/mirfblock
# environment:
# - SERVER_PORT=8056
# - BLOCK_TYPE=ecgReaderAlg
# - ORCHESTRATOR_HOST=orchestrator
# - ORCHESTRATOR_PORT=5011
# networks:
# - app_net
# depends_on:
# - orchestrator
#
# ecgbeatextractorblock:
# image: ashvyrkova/mirfblock
# environment:
# - SERVER_PORT=8057
# - BLOCK_TYPE=ecgBeatExtractorAlg
# - ORCHESTRATOR_HOST=orchestrator
# - ORCHESTRATOR_PORT=5011
# networks:
# - app_net
# depends_on:
# - orchestrator
#
# dicomreaderblock:
# image: ashvyrkova/mirfblockml
# environment:
# - SERVER_PORT=8058
# - BLOCK_TYPE=dicomImageSeriesReaderAlg
# - ORCHESTRATOR_HOST=orchestrator
# - ORCHESTRATOR_PORT=5011
# networks:
# - app_net
# depends_on:
# - orchestrator
#
# addmaskblock:
# image: ashvyrkova/mirfblockml
# environment:
# - SERVER_PORT=8059
# - BLOCK_TYPE=dicomAddCircleMaskAlg
# - ORCHESTRATOR_HOST=orchestrator
# - ORCHESTRATOR_PORT=5011
# networks:
# - app_net
# depends_on:
# - orchestrator
#
# highlightedpdfalg:
# image: ashvyrkova/mirfblockml
# environment:
# - SERVER_PORT=8060
# - BLOCK_TYPE=convertHighlightedDicomImagesToPdfAlg
# - ORCHESTRATOR_HOST=orchestrator
# - ORCHESTRATOR_PORT=5011
# networks:
# - app_net
# depends_on:
# - orchestrator
#
# seriespdfalg:
# image: ashvyrkova/mirfblockml
# environment:
# - SERVER_PORT=8061
# - BLOCK_TYPE=convertDicomImagesToPdfAlg
# - ORCHESTRATOR_HOST=orchestrator
# - ORCHESTRATOR_PORT=5011
# networks:
# - app_net
# depends_on:
# - orchestrator
#
# pdfcreatoralg:
# image: ashvyrkova/mirfblockml
# environment:
# - SERVER_PORT=8062
# - BLOCK_TYPE=pdfFileCreatorAlg
# - ORCHESTRATOR_HOST=orchestrator
# - ORCHESTRATOR_PORT=5011
# networks:
# - app_net
# depends_on:
# - orchestrator
pipelinealg:
image: ashvyrkova/mirfblockml
environment:
- SERVER_PORT=8063
- BLOCK_TYPE=pipelineForDeveloping
- ORCHESTRATOR_HOST=orchestrator
- ORCHESTRATOR_PORT=5011
networks:
- app_net
depends_on:
- orchestrator
- mirfrepository
command: ["sh", "wait-for-orchestrator.sh", "java","-jar","block-1.0-SNAPSHOT.jar"]
ihdpipeline:
image: ashvyrkova/mirfblockml
environment:
- SERVER_PORT=8064
- BLOCK_TYPE=ihdClassifierAlg
- ORCHESTRATOR_HOST=orchestrator
- ORCHESTRATOR_PORT=5011
networks:
- app_net
depends_on:
- orchestrator
- mirfrepository
command: ["sh", "wait-for-orchestrator.sh", "java","-jar","block-1.0-SNAPSHOT.jar"]
mirfrepository:
image: ashvyrkova/mirfrepository
environment:
- SERVER_PORT=8050
- ORCHESTRATOR_HOST=orchestrator
- ORCHESTRATOR_PORT=5011
ports:
- "8050:8050"
networks:
- app_net
depends_on:
- orchestrator
command: ["sh", "wait-for-orchestrator.sh", "java","-jar","repository-1.0-SNAPSHOT.jar"]
medwebpostgres:
image: postgres
environment:
- POSTGRES_PASSWORD=secretpassword
- POSTGRES_DB=medwebappdb
- POSTGRES_PORT=5555
- PGPORT=5555
ports:
- "5555:5555"
networks:
- app_net
testcontainerpostgres:
image: postgres
environment:
- POSTGRES_PASSWORD=secretpassword
- POSTGRES_DB=medwebappdb
- POSTGRES_PORT=1111
- PGPORT=1111
ports:
- "1111:1111"
networks:
- app_net
sftp:
image: atmoz/sftp
# volumes:
# - <host-dir>/upload:/home/foo/upload
ports:
- "4999:22"
command: medwebuser:secretpassword:::upload
networks:
- app_net
orthanc:
image: jodogne/orthanc-plugins
# volumes:
# - <host-dir>/upload:/home/foo/upload
ports:
- "8042:8042"
networks:
- app_net
command: /run/secrets/
secrets:
- orthanc.json
proxy:
image: nginx:1.15-alpine
ports:
- "8899:80"
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- orthanc
networks:
- app_net
medwebapp:
image: ashvyrkova/medwebapp
environment:
- SERVER_PORT=7999
- MIRF_ORCHESTRATOR_URL=orchestrator
- MIRF_ORCHESTRATOR_PORT=5011
- MIRF_REPOSITORY_URL=mirfrepository
- MIRF_REPOSITORY_PORT=8050
- ORTHANC_URL=http://orthanc:8042
- SPRING_DATASOURCE_URL=jdbc:postgresql://medwebpostgres:5555/medwebappdb
- SFTP_URL=sftp
- SFTP_PORT=22
ports:
- "7999:7999"
depends_on:
- pipelinealg
- mirfrepository
- medwebpostgres
- sftp
networks:
- app_net
secrets:
orthanc.json:
file: orthanc.json
networks:
app_net:
driver: bridge