This repository was archived by the owner on Jan 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.devnet.yml
More file actions
311 lines (291 loc) · 11.8 KB
/
docker-compose.devnet.yml
File metadata and controls
311 lines (291 loc) · 11.8 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
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
version: '2'
services:
ccrisql:
container_name: ccrisql
image: ${REGISTRY_PREFIX}ccri-sql${IMAGE_TAG}
environment:
- POSTGRES_DB=careconnect
- POSTGRES_USER=${MYSQL_DB_USER}
- POSTGRES_PASSWORD=${MYSQL_DB_PASSWORD}
networks:
- ccri_net
ccrifhir:
container_name: ccrifhir
image: thorlogic/ccri-fhirserver:latest
depends_on:
- ccrisql
links:
- ccrisql
environment:
- datasource.username=${MYSQL_DB_USER}
- datasource.password=${MYSQL_DB_PASSWORD}
- datasource.url=jdbc:postgresql://ccrisql:5432/careconnect
- datasource.driver=org.postgresql.Driver
- datasource.path=5432/careconnect
- datasource.vendor=postgresql
- datasource.showSql=false
- datasource.showDdl=false
- datasource.dialect=org.hibernate.dialect.PostgreSQL9Dialect
- datasource.ui.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-fhir/STU3
- datasource.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-fhir/STU3
- jolokia.username=HSFAdmin
- jolokia.password=h5fadm!n
- server.servlet.context-path=/ccri-fhir
- ccri.software.version=4.0.0
- ccri.software.name=Care Connect RI FHIR Server
- ccri.server=Care Connect API (unsecured)
- ccri.server.base=https://${FHIR_SERVER_BASE_HOST}/ccri-fhir/STU3
- ccri.guide=https://nhsconnect.github.io/CareConnectAPI/
- ccri.tkw_server=http://tkwvalidation:4849/$$validate
- ccri.EPR_resources=AllergyIntolerance,Appointment,Bundle,CarePlan,CareTeam,CodeSystem,ClinicalImpression,ConceptMap,Condition,Consent,DocumentReference,Encounter,Endpoint,EpisodeOfCare,Flag,GraphDefinition,HealthcareService,Immunization,List,Location,Medication,MedicationAdministration,MedicationDispense,MedicationRequest,MedicationStatement,MessageDefinition,NamingSystem,Observation,Organization,Patient,Practitioner,PractitionerRole,Procedure,Questionnaire,QuestionnaireResponse,ReferralRequest,RelatedPerson,Schedule,Slot,StructureDefinition,ValueSet
- ccri.validate_use_tkw=false
- ccri.validate_flag=true
ports:
- 8105:8186
extra_hosts:
# Define an alias to loop back for REST Connections
- "${FHIR_SERVER_BASE_HOST}:127.0.0.1"
volumes:
- gateway-log-volume:/usr/local/tomcat/logs
networks:
- ccri_net
ccrismartonfhir:
container_name: ccrismartonfhir
image: ${REGISTRY_PREFIX}ccri-fhirserver${IMAGE_TAG}
depends_on:
- ccrisql
links:
- ccrisql
environment:
- datasource.username=${MYSQL_DB_USER}
- datasource.password=${MYSQL_DB_PASSWORD}
- datasource.host=//ccrisql
- datasource.driver=org.postgresql.Driver
- datasource.path=5432/careconnect
- datasource.vendor=postgresql
- datasource.showSql=false
- datasource.showDdl=false
- datasource.dialect=org.hibernate.dialect.PostgreSQL9Dialect
- datasource.ui.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-smartonfhir/STU3
- datasource.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-smartonfhir/STU3
- jolokia.username=HSFAdmin
- jolokia.password=h5fadm!n
- ccri.software.version=4.0.0
- ccri.software.name=Care Connect RI FHIR Server
- ccri.server=Care Connect API (OAuth2 + SMARTonFHIR)
- ccri.server.base=https://${FHIR_SERVER_BASE_HOST}/ccri-smartonfhir/STU3
- ccri.guide=https://nhsconnect.github.io/CareConnectAPI/
- ccri.oauth2=true
- ccri.oauth2.authorize=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-auth/authorize
- ccri.oauth2.token=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-auth/token
- ccri.oauth2.register=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-auth/register
- server.servlet.context-path=/ccri-smartonfhir
ports:
- 8106:8186
extra_hosts:
# Define an alias to loop back for REST Connections
- "${FHIR_SERVER_BASE_HOST}:127.0.0.1"
volumes:
- gatewayssl-log-volume:/usr/local/tomcat/logs
networks:
- ccri_net
ccrimessaging:
container_name: ccrimessaging
image: thorlogic/ccri-messaging:latest
environment:
- server.base.epr=http://ccrifhir:8186/ccri-fhir/STU3
- server.base.edms=http://ccridocument2:8181/ccri-document/STU3
- camel.route.edms=fhir://create/resource?inBody=resourceAsString&serverUrl=http://ccridocument2:8181/ccri-document/STU3&fhirVersion=DSTU3
- camel.route.tkw=http4://192.168.128.36?throwExceptionOnFailure=true&bridgeEndpoint=true
- ccri.epr.server.base=http://ccrifhir:8186/ccri-fhir/STU3
- jolokia.username=HSFAdmin
- jolokia.password=h5fadm!n
- ccri.software.version=4.0.0
- ccri.software.name=CCRI-Messaging
- ccri.server=Care Connect API (unsecured)
- server.base=https://${FHIR_SERVER_BASE_HOST}/ccri-messaging/STU3
- ccri.guide=https://nhsconnect.github.io/CareConnectAPI/
depends_on:
- ccrifhir
- ccridocument2
ports:
- 8112:8182
volumes:
- gateway-log-volume:/usr/local/tomcat/logs
networks:
ccri_net:
ipv4_address: 172.168.240.14
ccridataload:
container_name: ccridataload
image: ${REGISTRY_PREFIX}ccri-cli${IMAGE_TAG}
depends_on:
- ccrifhir
environment:
- FHIR_SERVER=http://ccrifhir:8186/ccri-fhirserver/STU3
- POSTGRES_JDBC=postgresql://ccrisql:5432/careconnect
- POSTGRES_USER=${MYSQL_DB_USER}
- POSTGRES_USERNAME=${MYSQL_DB_USER}
- POSTGRES_PASSWORD=${MYSQL_DB_PASSWORD}
networks:
- ccri_net
fhirexplorer:
container_name: fhirexplorer
image: ${REGISTRY_PREFIX}ccri-fhirexplorer${IMAGE_TAG}
environment:
- fhir.resource.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-fhir/STU3
- fhir.messaging.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-fhir/STU3
- jolokia.username=HSFAdmin
- jolokia.password=h5fadm!n
- jolokia.jmxendpoint.ccportal=http4://cc-portal:8187/cc-portal?throwExceptionOnFailure=false&bridgeEndpoint=true
- jolokia.jmxendpoint.ccrimessaging=http4://ccrimessaging:8182/ccri-messaging?throwExceptionOnFailure=false&bridgeEndpoint=true
- jolokia.jmxendpoint.ccridocument=http4://ccridocument2:8181/ccri-document?throwExceptionOnFailure=false&bridgeEndpoint=true
- jolokia.jmxendpoint.tkw=http4://tkwvalidation:4849?throwExceptionOnFailure=false&bridgeEndpoint=true
- jolokia.jmxendpoint.ccsmart=http4://ccsmartproxy:80/cc-smart?throwExceptionOnFailure=false&bridgeEndpoint=true
- conf.logon=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/document-viewer
- oauth2.cookie_domain=${FHIR_SERVER_BASE_HOST}
depends_on:
- ccrifhir
ports:
- 8104:8188
extra_hosts:
# Define an alias to the CCRI Container to ensure that the correct Server Base is displayed by HAPI
- "${FHIR_SERVER_BASE_HOST}:172.168.250.14"
networks:
- ccri_net
cc-portal:
container_name: cc-portal
image: ${REGISTRY_PREFIX}ccri-hieportal${IMAGE_TAG}
environment:
- fhir.resource.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-fhir/STU3
- fhir.messaging.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-fhir/STU3
- jolokia.username=HSFAdmin
- jolokia.password=h5fadm!n
- conf.logon=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/document-viewer
- oauth2.cookie_domain=${FHIR_SERVER_BASE_HOST}
depends_on:
- ccrifhir
ports:
- 8115:8187
extra_hosts:
# Define an alias to the CCRI Container to ensure that the correct Server Base is displayed by HAPI
- "${FHIR_SERVER_BASE_HOST}:172.168.250.14"
networks:
- ccri_net
cc-logon:
container_name: cc-logon
image: ${REGISTRY_PREFIX}ccri-logon${IMAGE_TAG}
environment:
- keycloak.rooturl=https://${OAUTH2_SERVER_BASE_HOST}/auth
- keycloak.authserverurl=https://${OAUTH2_SERVER_BASE_HOST}/auth
- keycloak.realm=ReferenceImplementations
- keycloak.client_secret=${KEYCLOAK_CLIENT_SECRET}
- keycloak.client_id=ccri-cat
- oauth2.cookie_domain=${FHIR_SERVER_BASE_HOST}
ports:
- 8114:8189
ccrimongo7:
container_name: ccrimongo7
image: mongo:3.6.4
networks:
- ccri_net
ccridocument2:
container_name: ccridocument2
image: thorlogic/document-repository:latest
depends_on:
- ccrimongo7
links:
- ccrimongo7
environment:
- server.servlet.context-path=/ccri-document
- server.context-path=/ccri-document
- ccri.server.base=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-document/STU3
- fhir.resource.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-document/STU3
- fhir.resource.serverName=Care Connect RI FHIR Server
- fhir.resource.serverVersion=3.5.1-SNAPSHOT
- spring.data.mongodb.uri=mongodb://ccrimongo7:27017/careconnect-nosql
- spring.data.mongodb.database=careconnect-nosql
- jolokia.username=HSFAdmin
- jolokia.password=h5fadm!n
- validate.flag=false
ports:
- 8113:8181
volumes:
- mongo-log-volume:/usr/local/tomcat/logs
networks:
- ccri_net
tkwvalidation:
container_name: tkwvalidation
image: damianmurphy/fhir_production_validator:20190301
ports:
- 8116:4849
volumes:
- /docker-data:/home/service/data
networks:
- ccri_net
oauthsql:
container_name: oauthsql
image: postgres:10.4
environment:
- POSTGRES_DB=oic
- POSTGRES_USER=root
- POSTGRES_PASSWORD=password
networks:
- oauth_net
oauthserver:
container_name: ccri_oauth_server
image: ${REGISTRY_PREFIX}ccri-oauthserver
environment:
- oidc.issuer=https://${FHIR_SERVER_BASE_HOST}/ccri-auth/
- ldap.url=ldap://oauthldap
- ldap.server=ldap://oauthldap/dc=ccri,dc=com
- oidc.datasource.mysql.schema=oic
- oidc.datasource.mysql.url=jdbc:postgresql://oauthsql:5432/oic
- JAVA_OPTIONS=-Dspring.profiles.active=local,users-keycloak,docker-purple
- hspc.platform.accountLoginPage=https://${FHIR_SERVER_BASE_HOST}/document-viewer/login
- hspc.platform.accountLogoutPage=https://${FHIR_SERVER_BASE_HOST}/document-viewer/logout
ports:
- 8107:8080
depends_on:
- oauthsql
networks:
- oauth_net
documentviewer:
container_name: ccridocumentviewer
image: ${REGISTRY_PREFIX}ccri-documentviewer${IMAGE_TAG}
environment:
- fhir.resource.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-document/STU3
- fhir.messaging.serverBase=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/ccri-document/STU3
- conf.logon=${FHIR_SERVER_BASE_PROTOCOL}://${FHIR_SERVER_BASE_HOST}/document-viewer
- keycloak.rooturl=https://${OAUTH2_SERVER_BASE_HOST}/auth
- keycloak.authserverurl=https://${OAUTH2_SERVER_BASE_HOST}/auth
- keycloak.realm=ReferenceImplementations
- keycloak.client_secret=${KEYCLOAK_CLIENT_SECRET}
- keycloak.client_id=ccri-cat
- oauth2.cookie_domain=${FHIR_SERVER_BASE_HOST}
ports:
- 8108:4201
extra_hosts:
# Define an alias to the CCRI Container to ensure that the correct Server Base is displayed by HAPI
- "${FHIR_SERVER_BASE_HOST}:172.168.250.14"
networks:
- ccri_net
# ccsmartproxy:
# image: thorlogic/ccsmartproxy
# container_name: ccsmartproxy
# ports:
# - 8117:80
# volumes:
# - /docker/ccsmartproxy:/var/log/nginx/log
# networks:
# - ccri_net
networks:
ccri_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.168.240.0/24
oauth_net:
driver: bridge
ipam:
driver: default