-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.core.yaml
More file actions
475 lines (452 loc) · 22.9 KB
/
compose.core.yaml
File metadata and controls
475 lines (452 loc) · 22.9 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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
name: cohort-manager
services:
# CaaS Integration Service
retrieve-mesh-file:
container_name: retrieve-mesh-file
image: cohort-manager-retrieve-mesh-file
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: CaasIntegration/RetrieveMeshFile/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [non-essential]
environment:
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
- caasfolder_STORAGE=${AZURITE_CONNECTION_STRING}
- MeshApiBaseUrl=https://localhost:8700/messageexchange
- BSSMailBox=X26ABC1
- MeshPassword=${MESHPASSWORD}
- MeshSharedKey=${MESHSHAREDKEY}
- MeshKeyName=meshpfx.pfx
- MeshKeyPassphrase=${MESHKEYPASSPHRASE}
- ASPNETCORE_URLS=http://*:7059
nems-mesh-retrieval:
container_name: nems-mesh-retrieval
image: cohort-manager-nems-mesh-retrieval
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: NemsSubscriptionService/NemsMeshRetrieval/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [nems]
environment:
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
- nemsmeshfolder_STORAGE=${AZURITE_CONNECTION_STRING}
- NemsMeshApiBaseUrl=https://localhost:8700/messageexchange
- NemsMeshMailBox=${NEMS_MESH_MAILBOX}
- NemsMeshPassword=${NEMS_MESH_PASSWORD}
- NemsMeshSharedKey=${NEMS_MESH_SHARED_KEY}
- NemsMeshKeyName=nemsmeshpfx.pfx
- NemsMeshKeyPassphrase=${NEMS_MESH_KEY_PASSPHRASE}
- NemsMeshBypassServerCertificateValidation=true
- NemsMeshInboundContainer=nems-updates
- NemsMeshConfigContainer=nems-config
- ASPNETCORE_URLS=http://*:7058
process-nems-update:
container_name: process-nems-update
image: cohort-manager-process-nems-update
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: NemsSubscriptionService/ProcessNemsUpdate/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [non-essential]
environment:
- ASPNETCORE_URLS=http://*:9083
- nemsmeshfolder_STORAGE=${AZURITE_CONNECTION_STRING}
- NemsMessages=nems-updates
- NemsPoisonContainer=nems-poison
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- RetrievePdsDemographicURL=http://retrieve-pds-demographic:8082/api/RetrievePDSDemographic
- ManageNemsSubscriptionUnsubscribeURL=http://manage-nems-subscription:9081/api/Unsubscribe
- ManageNemsSubscriptionSubscribeURL=http://manage-nems-subscription:9081/api/Subscribe
- DemographicDataServiceURL=http://participant-demographic-data-service:7993/api/ParticipantDemographicDataService
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ParticipantManagementTopic=participant-management-topic
receive-caas-file:
container_name: receive-caas-file
image: cohort-manager-receive-caas-file
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: CaasIntegration/receiveCaasFile/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
- caasfolder_STORAGE=${AZURITE_CONNECTION_STRING}
- ASPNETCORE_URLS=http://*:7060
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- DemographicDataServiceURL=http://participant-demographic-data-service:7993/api/ParticipantDemographicDataService
- DemographicURI=http://durable-demographic-function:7079/api/DurableDemographicFunction_HttpStart
- GetOrchestrationStatusURL=http://durable-demographic-function:7079/api/GetOrchestrationStatus
- AllowDeleteRecords=true
- BatchSize=3500
- maxNumberOfChecks=50
- recordThresholdForBatching=3
- batchDivisionFactor=5
- ScreeningLkpDataServiceURL=http://screening-lkp-data-service:8996/api/ScreeningLkpDataService
- inboundBlobName=inbound
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- fileExceptions=file-exceptions
- ParticipantManagementTopic=participant-management-topic
# Participant Management Service
manage-participant:
container_name: manage-participant
image: cohort-manager-manage-participant
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ParticipantManagementServices/ManageParticipant/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- CohortDistributionTopic=cohort-distribution-topic
- ParticipantManagementTopic=participant-management-topic
- ManageParticipantSubscription=manage-participant-sub
- ParticipantManagementUrl=http://participant-management-data-service:7994/api/ParticipantManagementDataService
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
manage-servicenow-participant:
container_name: manage-servicenow-participant
image: cohort-manager-manage-servicenow-participant
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ParticipantManagementServices/ManageServiceNowParticipant/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [service-now]
environment:
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- ServiceNowParticipantManagementTopic=servicenow-participant-management-topic
- ManageServiceNowParticipantSubscription=manage-servicenow-participant-sub
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- RetrievePdsDemographicURL=http://retrieve-pds-demographic:8082/api/RetrievePDSDemographic
- SendServiceNowMessageURL=http://servicenow-message-handler:9092/api/servicenow/send
- ParticipantManagementURL=http://participant-management-data-service:7994/api/ParticipantManagementDataService
# - ManageNemsSubscriptionSubscribeURL=http://manage-nems-subscription:9081/api/Subscribe
- ManageNemsSubscriptionSubscribeURL=http://manage-caas-subscription:9084/api/Subscribe
- CohortDistributionTopic=cohort-distribution-topic
update-blocked-flag:
container_name: update-blocked-flag
image: cohort-manager-update-blocked-flag
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ParticipantManagementServices/UpdateBlockedFlag/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [non-essential]
ports:
- "7027:7027"
environment:
- ASPNETCORE_URLS=http://*:7027
- AzureWebJobsStorage=UseDevelopmentStorage=true
- ParticipantManagementUrl=http://participant-management-data-service:7994/api/ParticipantManagementDataService
- ParticipantDemographicDataServiceURL=http://participant-demographic-data-service:7993/api/ParticipantDemographicDataService/
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
# - ManageNemsSubscriptionUnsubscribeURL=http://manage-nems-subscription:9081/api/Unsubscribe
# - ManageNemsSubscriptionSubscribeURL=http://manage-nems-subscription:9081/api/Subscribe
- ManageNemsSubscriptionUnsubscribeURL=http://manage-caas-subscription:9084/api/Unsubscribe
- ManageNemsSubscriptionSubscribeURL=http://manage-caas-subscription:9084/api/Subscribe
- RetrievePdsDemographicURL=http://etrieve-pds-demographic:8082/api/RetrievePdsDemographic
delete-participant:
container_name: delete-participant
image: cohort-manager-delete-participant
networks: [cohman-network]
profiles: [non-essential]
ports:
- "7087:7087"
build:
context: ./src/Functions/
dockerfile: ParticipantManagementServices/DeleteParticipant/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- ASPNETCORE_URLS=http://*:7087
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- CohortDistributionDataServiceURL=http://cohort-distribution-data-service:7992/api/CohortDistributionDataService/
- AcceptableLatencyThresholdMs=500
remove-dummy-gp-code:
container_name: remove-dummy-gp-code
image: cohort-manager-remove-dummy-gp-code
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ParticipantManagementServices/RemoveDummyGPCode/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [ui]
environment:
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceNowParticipantManagementTopic=servicenow-participant-management-topic
- RetrievePdsDemographicURL=http://retrieve-pds-demographic:8082/api/RetrievePDSDemographic
# Audit Services
audit-writer:
container_name: audit-writer
image: cohort-manager-audit-writer
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: AuditServices/AuditWriter/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
- DtOsDatabaseConnectionString=Server=db,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- AuditTopicName=participant-audit-topic
- AuditSubscription=audit-writer-sub
# Screening Data Service
create-exception:
container_name: create-exception
image: cohort-manager-create-exception
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ExceptionHandling/CreateException/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- ASPNETCORE_URLS=http://*:7070
- DtOsDatabaseConnectionString=Server=db,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
- DemographicDataServiceURL=http://participant-demographic-data-service:7993/api/ParticipantDemographicDataService/
- ExceptionManagementDataServiceURL=http://exception-management-data-service:7911/api/ExceptionManagementDataService/
- GPPracticeDataServiceURL=http://localhost:7999/api/GPPracticeDataService/
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
update-exception:
container_name: update-exception
image: cohort-manager-update-exception
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ExceptionHandling/UpdateException/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [non-essential]
environment:
- ASPNETCORE_URLS=http://*:7070
- DtOsDatabaseConnectionString=Server=db,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
- ExceptionManagementDataServiceURL=http://exception-management-data-service:7911/api/ExceptionManagementDataService/
get-validation-exceptions:
container_name: get-validation-exceptions
image: cohort-manager-get-validation-exceptions
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: screeningDataServices/GetValidationExceptions/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [ui]
environment:
- ASPNETCORE_URLS=http://*:7071
- DtOsDatabaseConnectionString=Server=db,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
- DemographicDataServiceURL=http://participant-demographic-data-service:7993/api/ParticipantDemographicDataService/
- ExceptionManagementDataServiceURL=http://exception-management-data-service:7911/api/ExceptionManagementDataService/
- GPPracticeDataServiceURL=http://gppractice-data-service:7999/api/GPPracticeDataService/
- AcceptableLatencyThresholdMs=500
- BypassAuthentication=true
- AuthClientId=MockClientId-123
- UserInfoUrl=http://wiremock:8080/userinfo
# Screening Validation Service
static-validation:
container_name: static-validation
image: cohort-manager-static-validation
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ScreeningValidationService/StaticValidation/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- ASPNETCORE_URLS=http://*:7074
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
lookup-validation:
container_name: lookup-validation
image: cohort-manager-lookup-validation
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ScreeningValidationService/LookupValidation/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- ASPNETCORE_URLS=http://*:7075
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- BsSelectGpPracticeUrl=http://reference-data-service:7988/api/BsSelectGpPractice
- BsSelectOutCodeUrl=http://reference-data-service:7988/api/BsSelectOutCode
- CurrentPostingUrl=http://reference-data-service:7988/api/CurrentPosting
- ExcludedSMULookupUrl=http://reference-data-service:7988/api/ExcludedSMU
- BlobContainerName=rules
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
- DtOsDatabaseConnectionString=Server=db,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
# Demographic Services
retrieve-pds-demographic:
container_name: retrieve-pds-demographic
image: cohort-manager-retrieve-pds-demographic
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: DemographicServices/RetrievePDSDemographic/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [service-now, nems]
ports:
- 8082:8082
environment:
- ASPNETCORE_URLS=http://*:8082
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- RetrievePdsParticipantURL=https://sandbox.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient
- DemographicDataServiceURL=http://participant-demographic-data-service:7993/api/ParticipantDemographicDataService
- Kid=RetrievePdsDemographic-DEV1
- Audience=https://int.api.service.nhs.uk/oauth2/token
- AuthTokenURL=https://int.api.service.nhs.uk/oauth2/token
- LocalPrivateKeyFileName=RetrievePdsDemographic-DEV1.pem.key
- ParticipantManagementTopic=participant-management-topic
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ClientId=Get-private-key-from-NHS-dev-portal
- UseFakePDSServices=true
manage-nems-subscription:
container_name: manage-nems-subscription
image: cohort-manager-manage-nems-subscription
networks: [cohman-network]
profiles: [nems, service-now]
build:
context: ./src/Functions/
dockerfile: DemographicServices/ManageNemsSubscription/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- ASPNETCORE_URLS=http://*:9081
- FUNCTIONS_WORKER_RUNTIME=dotnet-isolated
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- ParticipantDemographicDataServiceURL=http://participant-demographic-data-service:7993/api/ParticipantDemographicDataService
- RetrievePdsDemographicURL=http://retrieve-pds-demographic:8082/api/RetrievePDSDemographic
- NemsFhirEndpoint=https://msg.intspineservices.nhs.uk/STU3
- NemsFromAsid=200000002527
- NemsToAsid=200000002527
- NemsOdsCode=T8T9T
- NemsMeshMailboxId=${NEMS_MESH_MAILBOX_ID}
- NemsLocalCertPath=./nhs_signed_client.pfx
- NemsLocalCertPassword=${NEMS_CERT_PASSWORD}
- NemsSubscriptionProfile=https://fhir.nhs.uk/STU3/StructureDefinition/EMS-Subscription-1
- NemsSubscriptionCriteria=https://fhir.nhs.uk/Id/nhs-number
- NemsDefaultEventTypes0=pds-record-change-1
- NemsBypassServerCertificateValidation=true
- DtOsDatabaseConnectionString=Server=db,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
- IsStubbed=true
ports:
- "9081:9081"
manage-caas-subscription:
container_name: manage-caas-subscription
image: cohort-manager-manage-caas-subscription
networks: [cohman-network]
profiles: [nems]
build:
context: ./src/Functions/
dockerfile: DemographicServices/ManageCaasSubscription/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- ASPNETCORE_URLS=http://*:9084
- FUNCTIONS_WORKER_RUNTIME=dotnet-isolated
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- CaasSubscriptionMeshApiBaseUrl=${MESH_API_BASE_URL:-https://localhost:8700/messageexchange}
- MeshCaasPassword=password
- MeshCaasSharedKey=TestKey
- MeshCaasKeyName=
- MeshCaasKeyPassword=
- IsStubbed=false
- CaasToMailbox=${CAAS_SUBSCRIBE_TO_MAILBOX:-CAAS_TO}
- CaasFromMailbox=${CAAS_SUBSCRIBE_FROM_MAILBOX:-CAAS_FROM}
- DtOsDatabaseConnectionString=Server=db,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
ports:
- "9084:9084"
durable-demographic-function:
container_name: durable-demographic-function
image: cohort-manager-durable-demographic-function
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: DemographicServices/DemographicDurableFunction/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
environment:
- ASPNETCORE_URLS=http://*:7079
- WEBSITE_HOSTNAME=durable-demographic-function:7079
- DtOsDatabaseConnectionString=Server=db,1433;Database=${DB_NAME};User Id=SA;Password=${PASSWORD};TrustServerCertificate=True
- DemographicDataServiceURL=http://participant-demographic-data-service:7993/api/ParticipantDemographicDataService
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- AzureWebJobsStorage=${AZURITE_CONNECTION_STRING}
- AcceptableLatencyThresholdMs=500
- MaxRetryCount=3
# Service Now Integration Service
servicenow-message-handler:
container_name: servicenow-message-handler
image: cohort-manager-servicenow-message-handler
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ServiceNowIntegration/ServiceNowMessageHandler/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [service-now]
environment:
- ASPNETCORE_URLS=http://*:9092
- ServiceNowCasesDataServiceURL=http://servicenow-cases-data-service:9996/api/ServiceNowCasesDataService
- ServiceNowRefreshAccessTokenUrl=http://wiremock:8080/oauth_token.do
- ServiceNowUpdateUrl=http://wiremock:8080/api/x_nhsd_intstation/nhs_integration/9c78f87c97912e10dd80f2df9153aff5/CohortCaseUpdate
- ServiceNowResolutionUrl=http://wiremock:8080/api/x_nhsd_intstation/nhs_integration/9c78f87c97912e10dd80f2df9153aff5/CohortCaseResolution
- ServiceNowGrantType=refresh_token
- ServiceNowClientId=MockClientId-123
- ServiceNowClientSecret=MockClientSecret-123
- ServiceNowRefreshToken=MockRefreshToken-123
- ServiceNowParticipantManagementTopic=servicenow-participant-management-topic
- ServiceBusConnectionString_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
- ServiceBusConnectionString_client_internal=Endpoint=sb://service-bus;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
ports:
- 9092:9092
servicenow-cohort-lookup:
container_name: servicenow-cohort-lookup
image: cohort-manager-servicenow-cohort-lookup
networks: [cohman-network]
build:
context: ./src/Functions/
dockerfile: ServiceNowIntegration/ServiceNowCohortLookup/Dockerfile
args:
BASE_IMAGE: ${FUNCTION_BASE_IMAGE}
profiles: [service-now]
environment:
- ASPNETCORE_URLS=http://*:7180
- ExceptionFunctionURL=http://create-exception:7070/api/CreateException
- ServiceNowCasesDataServiceURL=http://servicenow-cases-data-service:9996/api/ServiceNowCasesDataService
- CohortDistributionDataServiceURL=http://cohort-distribution-data-service:7992/api/CohortDistributionDataService
# UI
web:
container_name: web
build:
context: ./src/Web
dockerfile: Dockerfile
restart: always
profiles: [ui]
ports:
- "3000:3000"
networks: [cohman-network]
networks:
cohman-network:
external: true