-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
193 lines (179 loc) · 4.77 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
version: "3"
volumes:
logica-sandbox-volume:
services:
keycloak:
image: sleighzy/keycloak
volumes:
- "./realm_properties.json:/etc/security/realm_properties.json"
ports:
- "8080:8080"
environment:
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=admin
- KEYCLOAK_IMPORT=/etc/security/realm_properties.json
command:
[
"-Djboss.http.port=8080",
"-Dkeycloak.profile.feature.upload_scripts=enabled",
]
sandbox-mysql:
image: logicahealth/sandbox-mysql:latest
ports:
- "3306:3306"
volumes:
- logica-sandbox-volume:/var/lib/mysql57
environment:
- MYSQL_PASSWORD=password
- MYSQL_ROOT_PASSWORD=password
command: ['mysqld', '--default-authentication-plugin=mysql_native_password']
healthcheck:
test: ["CMD-SHELL", "/wait-for-db.sh"]
interval: 10s
timeout: 60s
retries: 50
sandbox-manager-api:
image: logicahealth/sandbox-manager-api:latest
ports:
- "12000:12000"
environment:
- DB_HOST=sandbox-mysql
- DB_PORT=3306
- DB_NAME=sandman
- DB_USER=root
- DB_PASSWORD=password
- AUTH_HOST=sandbox
- AUTH_PORT=8060
# - API_DSTU2_HOST=dstu2
# - API_STU3_HOST=stu3
- API_R4_HOST=r4
- API_R5_HOST=r5
restart: unless-stopped
depends_on:
- sandbox-mysql
sandbox:
image: logicahealth/sandbox:latest
ports:
- "3000:3000"
- "3001:3001"
- "8060:8060"
environment:
- AUTH_HOST=sandbox
- AUTH_PORT=8060
- DB_NAME=oic
- DB_HOST=sandbox-mysql
- DB_USER=root
- DB_PASSWORD=password
- SHOW_SQL=true
- API_DSTU2_HOST=dstu2
- API_DSTU2_PORT=8078
- API_STU3_HOST=stu3
- API_STU3_PORT=8079
- API_R4_HOST=r4
- API_R4_PORT=8070
- PATIENT_PICKER_HOST=localhost
- PATIENT_PICKER_PORT=8094
- SANDMAN_API_HOST=sandbox-manager-api
- SANDMAN_API_PORT=12000
- SPRING_PROFILES_ACTIVE=users-keycloak,local
- KEYCLOAK_REALM=Development
- KEYCLOAK_AUTH_SERVER_URL=http://keycloak:8080/auth
- KEYCLOAK_SSL_REQUIRED=none
- KEYCLOAK_CREDENTIALS=593ada9c-b1dc-444f-a2e6-30cc4add8146
- KEYCLOAK_LOGOUT_SUCCESS_URL=http://keycloak:8080/auth/realms/Development/protocol/openid-connect/logout?redirect_uri=http://localhost:3001
- JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,address=5060,server=y,suspend=n"
restart: unless-stopped
depends_on:
- sandbox-mysql
# dstu2:
# image: logicahealth/api:latest
# ports:
# - "8078:8078"
# environment:
# - SPRING_PROFILES_ACTIVE=dstu2,multitenant
# - API_PORT=8078
# - SANDBOX_NAME=hspc8
# - SBMA_HOST=sandbox-manager-api
# - SBMA_PORT=12000
# - DB_HOST=sandbox-mysql
# - DB_PORT=3306
# - DB_USER=root
# - DB_PASSWORD=password
# - AUTH_HOST=sandbox
# - AUTH_PORT=8060
# - MANIFEST_OVERRIDE=false
# depends_on:
# sandbox-mysql:
# condition: service_healthy
stu3:
image: logicahealth/api:latest
ports:
- "8079:8079"
environment:
- SPRING_PROFILES_ACTIVE=stu3,multitenant
- API_PORT=8079
- SANDBOX_NAME=hspc9
- SBMA_HOST=sandbox-manager-api
- SBMA_PORT=12000
- DB_HOST=sandbox-mysql
- DB_PORT=3306
- DB_USER=root
- DB_PASSWORD=password
- AUTH_HOST=sandbox
- AUTH_PORT=8060
- MANIFEST_OVERRIDE=false
restart: unless-stopped
depends_on:
- sandbox-mysql
r4:
image: logicahealth/api:latest
ports:
- "8070:8070"
environment:
- SPRING_PROFILES_ACTIVE=r4,multitenant
- API_PORT=8070
- SANDBOX_NAME=hspc10
- SBMA_HOST=sandbox-manager-api
- SBMA_PORT=12000
- DB_HOST=sandbox-mysql
- DB_PORT=3306
- DB_USER=root
- DB_PASSWORD=password
- AUTH_HOST=sandbox
- AUTH_PORT=8060
- MANIFEST_OVERRIDE=false
restart: unless-stopped
depends_on:
- sandbox-mysql
r5:
image: logicahealth/api:latest
ports:
- "8071:8071"
environment:
- SPRING_PROFILES_ACTIVE=r5,multitenant
- API_PORT=8071
- SANDBOX_NAME=hspc11
- SBMA_HOST=sandbox-manager-api
- SBMA_PORT=12000
- DB_HOST=sandbox-mysql
- DB_PORT=3306
- DB_USER=root
- DB_PASSWORD=password
- AUTH_HOST=sandbox
- AUTH_PORT=8060
- MANIFEST_OVERRIDE=false
restart: unless-stopped
depends_on:
- sandbox-mysql
static-content:
image: logicahealth/sandbox-ce-static-content:latest
ports:
- "8090:80"
bilirubin-risk-chart:
image: logicahealth/bilirubin-risk-chart-app:latest
ports:
- "8086:8086"
patient-data-manager:
image: logicahealth/patient-data-manager:latest
ports:
- "8096:8096"