-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
568 lines (540 loc) · 21.4 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
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
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
---
version: '3'
services:
ccd-user-profile-api:
image: "${CCD_USER_PROFILE_API_USE_LOCAL-hmctspublic.azurecr.io/}ccd/user-profile-api:${CCD_USER_PROFILE_API_TAG:-latest}"
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx400m
USER_PROFILE_DB_HOST: shared-database
USER_PROFILE_DB_PORT: 5432
USER_PROFILE_DB_USERNAME: "${DB_USERNAME}"
USER_PROFILE_DB_PASSWORD: "${DB_PASSWORD}"
USER_PROFILE_DB_USE_SSL: "false"
USER_PROFILE_S2S_AUTHORISED_SERVICES: ccd_data,ccd_definition,ccd_admin
IDAM_S2S_URL: http://service-auth-provider-api:8080
REFORM_SERVICE_NAME: ccd-user-profile-api
REFORM_TEAM: ccd
REFORM_ENVIRONMENT: local
APPINSIGHTS_INSTRUMENTATIONKEY: key
ports:
- 4453:4453
depends_on:
- shared-database
- service-auth-provider-api
ccd-definition-store-api:
image: "${CCD_DEFINITION_STORE_API_USE_LOCAL-hmctspublic.azurecr.io/}ccd/definition-store-api:${CCD_DEFINITION_STORE_API_TAG:-latest}"
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx400m
DEFINITION_STORE_DB_HOST: shared-database
DEFINITION_STORE_DB_PORT: 5432
DEFINITION_STORE_DB_USERNAME: "${DB_USERNAME}"
DEFINITION_STORE_DB_PASSWORD: "${DB_PASSWORD}"
DEFINITION_STORE_DB_USE_SSL: "false"
DEFINITION_STORE_IDAM_KEY: "AAAAAAAAAAAAAAAA"
DEFINITION_STORE_S2S_AUTHORISED_SERVICES: ccd_data,ccd_gw,ccd_admin,probate_backend
USER_PROFILE_HOST: http://ccd-user-profile-api:4453
IDAM_USER_URL: http://sidam-api:5000
IDAM_S2S_URL: http://service-auth-provider-api:8080
REFORM_SERVICE_NAME: ccd-definition-store-api
REFORM_TEAM: ccd
REFORM_ENVIRONMENT: local
APPINSIGHTS_INSTRUMENTATIONKEY: key
ELASTIC_SEARCH_ENABLED: "${ES_ENABLED_DOCKER}"
ELASTIC_SEARCH_HOST: "ccd-elasticsearch"
ELASTIC_SEARCH_FAIL_ON_IMPORT: "true"
ports:
- 4451:4451
depends_on:
- shared-database
- ccd-user-profile-api
- sidam-api
- service-auth-provider-api
ccd-data-store-api:
image: "${CCD_DATA_STORE_API_USE_LOCAL-hmctspublic.azurecr.io/}ccd/data-store-api:${CCD_DATA_STORE_API_TAG:-latest}"
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx400m
DATA_STORE_DB_HOST: shared-database
DATA_STORE_DB_PORT: 5432
DATA_STORE_DB_USERNAME: "${DB_USERNAME}"
DATA_STORE_DB_PASSWORD: "${DB_PASSWORD}"
DATA_STORE_DB_USE_SSL: "false"
DATA_STORE_IDAM_KEY: "AAAAAAAAAAAAAAAA"
DATA_STORE_TOKEN_SECRET: iuasbcuasdcbasdgcasdgcuysachjsacyasdgjcgasdj
DATA_STORE_S2S_AUTHORISED_SERVICES: ccd_gw,fpl_case_service,ccd_data,ccd_ps,probate_backend,payment-api
CCD_DM_DOMAIN: http://dm-store:8080
DEFINITION_STORE_HOST: http://ccd-definition-store-api:4451
USER_PROFILE_HOST: http://ccd-user-profile-api:4453
IDAM_USER_URL: http://sidam-api:5000
IDAM_S2S_URL: http://service-auth-provider-api:8080
REFORM_SERVICE_NAME: ccd-data-store-api
REFORM_TEAM: ccd
REFORM_ENVIRONMENT: local
APPINSIGHTS_INSTRUMENTATIONKEY: key
ELASTIC_SEARCH_ENABLED: "${ES_ENABLED_DOCKER}"
ELASTIC_SEARCH_HOSTS: ccd-elasticsearch:9200
ELASTIC_SEARCH_DATA_NODES_HOSTS: "http://ccd-elasticsearch:9200"
DATA_STORE_DEFAULT_LOG_LEVEL: INFO
ports:
- 4452:4452
- 5005:5005
depends_on:
- shared-database
- ccd-user-profile-api
- ccd-definition-store-api
- sidam-api
- service-auth-provider-api
ccd-case-management-web:
image: hmctspublic.azurecr.io/ccd/case-management-web:latest
environment:
IDAM_LOGIN_URL: http://localhost:3501/login
CCD_GATEWAY_BASE_URL: http://localhost:3453
CCD_ACTIVITY_BASE_URL:
DM_GATEWAY_BASE_URL: https://api-gateway.dev.dm.reform.hmcts.net
OAUTH2_CLIENT_ID: ccd_gateway
DM_URL: http://localhost:3453/documents
DM_URL_REMOTE: http://dm-store:8080/documents
ports:
- 3451:3451
depends_on:
- ccd-api-gateway
ccd-api-gateway:
image: hmctspublic.azurecr.io/ccd/api-gateway-web:latest
environment:
IDAM_BASE_URL: http://sidam-api:5000
IDAM_USER_URL: http://sidam-api:5000
IDAM_S2S_URL: http://service-auth-provider-api:8080
IDAM_SERVICE_KEY: "AAAAAAAAAAAAAAAA"
IDAM_OAUTH2_LOGOUT_ENDPOINT: http://sidam-api:5000/session/:token
IDAM_OAUTH2_CLIENT_ID: ccd_gateway
IDAM_OAUTH2_CLIENT_SECRET: ccd_gateway_secret
IDAM_OAUTH2_TOKEN_ENDPOINT: http://sidam-api:5000/oauth2/token
PROXY_DOCUMENT_MANAGEMENT: http://dm-store:8080
ADDRESS_LOOKUP_TOKEN:
PROXY_AGGREGATED: http://ccd-data-store-api:4452
PROXY_DATA: http://ccd-data-store-api:4452
PROXY_DEFINITION_IMPORT: http://ccd-definition-store-api:4451
PROXY_DEFINITION_DATA: http://ccd-definition-store-api:4451/api/data
PROXY_DEFINITION_DISPLAY: http://ccd-definition-store-api:4451/api/display
PROXY_PAYMENTS: http://payments-api:8080
APPINSIGHTS_INSTRUMENTATIONKEY: 4
ports:
- 3453:3453
depends_on:
- ccd-user-profile-api
- ccd-definition-store-api
- ccd-data-store-api
- dm-store
service-auth-provider-api:
image: hmctspublic.azurecr.io/rpe/service-auth-provider
healthcheck:
interval: 10s
timeout: 10s
retries: 10
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx256m
SERVER_PORT: 8080
JWT_KEY: wThK0f0/lh3FlxFcL4xUWDMI5C1J9KyQBgXV4wseh1e5J1uYJIjvTvArHxQDrYoHJ23xFxjHkOnvNbR5dXRoxA==
MICROSERVICEKEYS_CCD_DATA: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_CCD_GW: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_CCD_DEFINITION: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_CCD_ADMIN: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_FPL_CASE_SERVICE: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_EM_GW: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_BULK_SCAN_PROCESSOR: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_BULK_SCAN_PROCESSOR_TESTS: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_BULK_SCAN_ORCHESTRATOR: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_PROBATE_BACKEND: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_PROBATE_FRONTEND: "AAAAAAAAAAAAAAAA"
MICROSERVICEKEYS_DG_DOCASSEMBLY_API: "AAAAAAAAAAAAAAAA"
MICROSERVICE_KEYS_RPA_DG_DOCASSEMBLY: "AAAAAAAAAAAAAAAA"
TESTING_SUPPORT_ENABLED: "true"
MICROSERVICEKEYS_PAYMENT_APP: "AAAAAAAAAAAAAAAB"
ports:
- 4502:8080
shared-db:
image: hmctsprivate.azurecr.io/idam/shared-db:latest
ports:
- 5051:5432
sidam-api:
image: "hmctspublic.azurecr.io/idam/api:stable"
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx400m
TESTING_SUPPORT_ENABLED: "true"
IDAMHEALTHCHECK_AM_ENABLED: "false"
IDAMHEALTHCHECK_IDM_ENABLED: "false"
STRATEGIC_ADMIN_URL: http://localhost:8082
STRATEGIC_WEBPUBLIC_URL: http://localhost:3501
SPRING_PROFILES_ACTIVE: local
SPRING_DATASOURCE_URL: jdbc:postgresql://shared-db:5432/openidm?currentSchema=fridam
SPRING_DATASOURCE_USERNAME: openidm
SPRING_DATASOURCE_PASSWORD: openidm
SPRING_DATA_ELASTICSEARCH_PROPERTIES_PATH_HOME: /tmp/es
SECURITY_OAUTH2_CLIENT_CLIENTSECRET: password
SECURITY_OAUTH2_CLIENT_PRE_ESTABLISHED_REDIRECT_URI: http://localhost:3501/login
SECURITY_OAUTH2_CLIENT_REGISTERED_REDIRECT_URI: http://localhost:3501/login
IDAM_SPI_FORGEROCK_AM_ROOT: http://fr-am:8080/openam
IDAM_SPI_FORGEROCK_AM_TOPLEVELHOST: fr-am
IDAM_SPI_FORGEROCK_AM_USERNAME: amadmin
IDAM_SPI_FORGEROCK_AM_PASSWORD: Pa55word11
IDAM_SPI_FORGEROCK_AM_JWKSURIFOROAUTH2CLIENTS: http://fr-am:8080/openam/oauth2/hmcts/connect/jwk_uri
IDAM_SPI_FORGEROCK_IDM_ROOT: http://fr-idm:18080/openidm
IDAM_SPI_FORGEROCK_IDM_USERNAME: openidm-admin
IDAM_SPI_FORGEROCK_IDM_PASSWORD: openidm-admin
APPSETTING_NODE_PATH: es/
ports:
- 5000:5000
depends_on:
- fr-am
- fr-idm
- shared-db
fr-am:
image: "hmctsprivate.azurecr.io/idam/idam-fr-am:latest"
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx400m
ports:
- 2889:8080
- 1389:1389
depends_on:
- shared-db
fr-idm:
image: "hmctsprivate.azurecr.io/idam/idam-fr-idm:latest"
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx400m
ports:
- 18080:18080
- 9010:9010
depends_on:
- fr-am
- shared-db
shared-database:
image: postgres
volumes:
- ./docker/database:/docker-entrypoint-initdb.d
environment:
POSTGRES_MULTIPLE_DATABASES: idam,ccd,ccd_user_profile,ccd_definition,ccd_data,evidence,ccd_definition_designer,fees_register,probate,probate_man,letter_tracking,payment
DB_USERNAME:
DB_PASSWORD:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5050:5432
dm-store:
image: hmctspublic.azurecr.io/dm/store:latest
environment:
- JAVA_TOOL_OPTIONS=-Xms128m -Xmx256m
- SERVER_PORT=8080
- SPRING_DATASOURCE_URL=jdbc:postgresql://shared-database:5432/evidence
- SPRING_DATASOURCE_USERNAME=${DB_USERNAME}
- SPRING_DATASOURCE_PASSWORD=${DB_PASSWORD}
- SPRING_PROFILES_ACTIVE=dev
- STORAGEACCOUNT_PRIMARY_CONNECTION_STRING=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azure-storage-emulator-azurite:10000/devstoreaccount1
- STORAGE_CONTAINER_DOCUMENT_CONTAINER_NAME=hmctstestcontainer
- IDAM_S2S_BASE_URI=http://service-auth-provider-api:8080
- ENABLE_TTL=false
- ENABLE_METADATA_MIGRATION=false
depends_on:
- shared-database
- service-auth-provider-api
- make-container-call
ports:
- 5006:8080
azure-storage-emulator-azurite:
image: arafato/azurite
ports:
- 10000:10000
environment:
executable: "blob"
volumes:
- ccd-docker-azure-blob-data:/opt/azurite/folder
make-container-call:
image: byrnedo/alpine-curl
command: --retry 10 --retry-connrefused -XPUT --verbose http://azure-storage-emulator-azurite:10000/devstoreaccount1/hmctstestcontainer?restype=container
links:
- azure-storage-emulator-azurite
depends_on:
- azure-storage-emulator-azurite
pdf-service-api:
image: hmctspublic.azurecr.io/cmc/pdf-service:latest
environment:
- JAVA_TOOL_OPTIONS=-Xms128m -Xmx256m -Djavx.security.egd=file:/dev/./urandom -XX:MaxMetaspaceSize=128m
- AZURE_APPLICATIONINSIGHTS_INSTRUMENTATIONKEY=fake-key
- S2S_URL=http://service-auth-provider-api:8080
- ROOT_APPENDER
- JSON_CONSOLE_PRETTY_PRINT
- ROOT_LOGGING_LEVEL
- REFORM_SERVICE_NAME=pdf-service
- REFORM_TEAM
- REFORM_ENVIRONMENT
ports:
- 5500:5500
fees-api:
image: hmctspublic.azurecr.io/fees-register/api
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx256m
SPRING_DATASOURCE_URL: "jdbc:postgresql://shared-database:5432/fees_register"
SPRING_DATASOURCE_USERNAME: ${DB_USERNAME}
SPRING_DATASOURCE_PASSWORD: ${DB_USERNAME}
AUTH_IDAM_CLIENT_BASEURL: "http://sidam-api:5000"
APPINSIGHTS_INSTRUMENTATIONKEY: "key"
SPRING_LIQUIBASE_ENABLED: "true"
ENABLE_FEE_LOADER: "true"
ports:
- 4411:8080
depends_on:
- sidam-api
- shared-database
idam-web-admin:
image: "hmctspublic.azurecr.io/idam/web-admin:stable"
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx256m
STRATEGIC_SERVICE_URL: http://sidam-api:5000
ports:
- 8082:8080
links:
- sidam-api
depends_on:
- sidam-api
idam-web-public:
image: "hmctspublic.azurecr.io/idam/web-public:stable"
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx256m
STRATEGIC_SERVICE_URL: http://sidam-api:5000
IDAM_CONTINUE_URL_VALIDATOR_ENFORCE_TLS: "false"
REFORM_SERVICE_NAME: sidam-api
REFORM_TEAM: idam
REFORM_ENVIRONMENT: local
ports:
- 3501:8080
links:
- sidam-api
depends_on:
- sidam-api
probate-orchestrator:
image: hmctspublic.azurecr.io/probate/orchestrator-service:latest
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx256m
AUTH_IDAM_CLIENT_BASEURL: http://sidam-api:5000
AUTH_PROVIDER_SERVICE_CLIENT_BASEURL: http://service-auth-provider-api:8080
SUBMIT_SERVICE_API_URL: http://probate-submit-service:8181
BUSINESS_SERVICE_API_URL: http://probate-business-service:8081
BACK_OFFICE_API_URL: http://probate-back-office:4104
SERVICES_CORECASEDATA_BASEURL: http://ccd-data-store-api:4452
ports:
- 8888:8888
depends_on:
- sidam-api
- service-auth-provider-api
- probate-back-office
probate-back-office:
image: hmctspublic.azurecr.io/probate/back-office:latest
dns:
- 172.16.0.10
- 172.16.0.14
- 8.8.8.8
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx400m
AUTH_IDAM_CLIENT_BASEURL: http://sidam-api:5000
S2S_AUTH_URL: http://service-auth-provider-api:8080
SPRING_DATASOURCE_URL: jdbc:postgresql://shared-database:5432/probate_man
SPRING_DATASOURCE_USERNAME: ${DB_USERNAME}
SPRING_DATASOURCE_PASSWORD: ${DB_PASSWORD}
EVIDENCE_MANAGEMENT_URL: http://dm-store:8080
PDF_SERVICE_URL: http://pdf-service-api:5500
PRINTSERVICE_HOST:
IDAM_SERVICE_HOST: http://sidam-api:5000
FEE_API_URL: http://fees-api:8080
EVIDENCE_MANAGEMENT_HOST: http://dm-store:8080
CCD_GATEWAY_HOST: http://ccd-api-gateway:3453
SEND_LETTER_SERIVCE_BASEURL: http://send-letter-service:8485
SERVICES_CORECASEDATA_BASEURL: http://ccd-data-store-api:4452
CCD_DATA_STORE_API_HOST: http://ccd-data-store-api:4452
ports:
- 4104:4104
depends_on:
- sidam-api
- shared-database
- service-auth-provider-api
- dm-store
probate-submit-service:
image: hmctspublic.azurecr.io/probate/submit-service:latest
environment:
JAVA_TOOL_OPTIONS: -Xms128m -Xmx400m
AUTH_IDAM_CLIENT_BASEURL: http://sidam-api:5000
AUTH_PROVIDER_SERVICE_CLIENT_BASEURL: http://service-auth-provider-api:8080
SERVICES_CORECASEDATA_BASEURL: http://ccd-data-store-api:4452
ports:
- 8181:8181
depends_on:
- sidam-api
- shared-database
- ccd-data-store-api
- service-auth-provider-api
probate-business-service:
image: hmctspublic.azurecr.io/probate/business-service:latest
environment:
- JAVA_TOOL_OPTIONS=-Xms128m -Xmx400m
- SERVER_PORT=8081
- SPRING_APPLICATION_JSON={
"services.auth.provider.baseUrl":"http://service-auth-provider-api:8080",
"services.pdf.service.url":"http://pdf-service-api:5500",
"document_management.url":"http://dm-store:8080"
}
ports:
- 8081:8081
send-letter-service:
image: hmctspublic.azurecr.io/rpe/send-letter-service
environment:
- JAVA_TOOL_OPTIONS=-Xms128m -Xmx400m
- APPINSIGHTS_INSTRUMENTATIONKEY=DUMMY
- SERVER_PORT=8485
- FTP_FINGERPRINT=fingerprint
- FTP_HOSTNAME=hostname
- FTP_PORT=22
- FTP_PRIVATE_KEY=private
- FTP_PUBLIC_KEY=public
- FTP_REPORTS_FOLDER=/reports/
- FTP_TARGET_FOLDER=/target/
- FTP_USER=user
- LETTER_TRACKING_DB_PASSWORD=${DB_PASSWORD}
- LETTER_TRACKING_DB_USER_NAME=${DB_USERNAME}
- S2S_URL=http://service-auth-provider-api:8080
- FLYWAY_URL=jdbc:postgresql://shared-database:5432/send_letter?sslmode=require
- FLYWAY_NOOP_STRATEGY=false
- SCHEDULING_ENABLED
- ENCRYPTION_ENABLED
- ENCRYPTION_PUBLIC_KEY=DUMMY
# these environment variables are used by java-logging library
- ROOT_APPENDER
- JSON_CONSOLE_PRETTY_PRINT
- ROOT_LOGGING_LEVEL
- REFORM_SERVICE_NAME
- REFORM_TEAM
- REFORM_ENVIRONMENT
- LETTER_TRACKING_DB_HOST=shared-database
- LETTER_TRACKING_DB_NAME=letter_tracking
- LETTER_TRACKING_DB_PORT=5432
- SMTP_HOST=false
- SMTP_USERNAME=username
- SMTP_PASSWORD=password
ports:
- 8485:8485
depends_on:
- shared-database
- service-auth-provider-api
links:
- shared-database
- service-auth-provider-api
smtp-server:
image: mailhog/mailhog
restart: always
ports:
- 1025:1025
- 8025:8025
ccd-elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.2
environment:
- JAVA_TOOL_OPTIONS=-Xms128m -Xmx400m
- ES_JAVA_OPTS= -Xms128m -Xmx400m
- cluster.name=ccd-docker-es-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- action.auto_create_index=.security*,.watches,.triggered_watches,.watcher-history-*,.logstash_dead_letter,.ml*,grantofrepresentation_cases,caveat_cases,legacy_cases,standingsearch_cases,willlodgement_cases
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata1:/usr/share/elasticsearch/data
ports:
- 9200:9200
ccd-logstash:
image: hmctspublic.azurecr.io/ccd/logstash:probate-latest
environment:
- JAVA_TOOL_OPTIONS=-Xms128m -Xmx400m
- XPACK_MONITORING_ENABLED=false
- DB_URL=jdbc:postgresql://shared-database:5432/ccd_data?stringtype=unspecified&ssl=false
- DB_USER=${DB_USERNAME}
- DB_PWD=${DB_PASSWORD}
- ES_DATA_NODES_URL=http://ccd-elasticsearch:9200
- LOG_LEVEL=warn
depends_on:
- ccd-elasticsearch
- shared-database
payments-api:
image: hmctspublic.azurecr.io/payment/api:latest
environment:
- JAVA_TOOL_OPTIONS=-Xms128m -Xmx400m
- auth.provider.service.client.baseUrl=http://service-auth-provider-api:8080
- auth.idam.client.baseUrl=http://sidam-api:5000
- idam.s2s-auth.totp_secret=AAAAAAAAAAAAAAAB
- idam.s2s-auth.microservice=payment_app
- idam.s2s-auth.url=http://service-auth-provider-api:8080
- CARD_PAYMENTS_REPORT_SCHEDULER_ENABLED=true
- CARD_PAYMENTS_EMAIL_MESSAGE=hi
- CARD_PAYMENTS_EMAIL_SUBJECT=Docker Env Card Payments Reconciliation Report
- BAR_PAYMENTS_REPORT_SCHEDULER_ENABLED=true
- BAR_PAYMENTS_EMAIL_MESSAGE=hi
- BAR_PAYMENTS_EMAIL_SUBJECT=Docker Env Bar Payments Reconciliation Report
- FEATURE_PAYMENTS_SEARCH=true
- FEES_REGISTER_URL=https://fees-api:8080
- GOV_PAY_AUTH_KEY_CMC=la0ohpqa9er1bub2hddieeesc6sabbbqn4smkkve7s9ailn3n9d3hbnhc3
- GOV_PAY_AUTH_KEY_DIVORCE_FRONTEND=la0ohpqa9er1bub2hddieeesc6sabbbqn4smkkve7s9ailn3n9d3hbnhc3
- GOV_PAY_AUTH_KEY_PROBATE_FRONTEND=la0ohpqa9er1bub2hddieeesc6sabbbqn4smkkve7s9ailn3n9d3hbnhc3
- GOV_PAY_OPERATIONAL_SERVICES=ccd_gw
- GOV_PAY_URL=https://publicapi.payments.service.gov.uk/v1/payments
- payments.report.file.location=.
- PBA_CMC_PAYMENTS_REPORT_SCHEDULER_ENABLED=true
- PBA_CMC_PAYMENTS_EMAIL_MESSAGE=hi
- PBA_CMC_PAYMENTS_EMAIL_SUBJECT=Docker Env Card Payments Reconciliation Report
- PBA_PROBATE_PAYMENTS_REPORT_SCHEDULER_ENABLED=true
- PBA_PROBATE_PAYMENTS_EMAIL_MESSAGE=hi
- PBA_PROBATE_PAYMENTS_EMAIL_SUBJECT=Docker Env Card Payments Reconciliation Report
- PBA_FINREM_PAYMENTS_REPORT_SCHEDULER_ENABLED=true
- PBA_FINREM_PAYMENTS_EMAIL_MESSAGE=hi
- PBA_FINREM_PAYMENTS_EMAIL_SUBJECT=Docker Env Card Payments Reconciliation Report
- PBA_DIVORCE_PAYMENTS_REPORT_SCHEDULER_ENABLED=true
- PBA_DIVORCE_PAYMENTS_EMAIL_MESSAGE=hi
- PBA_DIVORCE_PAYMENTS_EMAIL_SUBJECT=Docker Env Card Payments Reconciliation Report
- PBA_FPL_PAYMENTS_REPORT_SCHEDULER_ENABLED=true
- PBA_FPL_PAYMENTS_EMAIL_MESSAGE=hi
- PBA_FPL_PAYMENTS_EMAIL_SUBJECT=Docker Env Card Payments Reconciliation Report
- REFORM_ENVIRONMENT=aat
- REFORM_SERVICE_NAME=payment-api
- REFORM_TEAM=cc
- SPRING_DATASOURCE_URL=jdbc:postgresql://shared-database:5432/payment
- SPRING_DATASOURCE_USERNAME=${DB_USERNAME}
- SPRING_DATASOURCE_PASSWORD=${DB_USERNAME}
- SPRING_LIQUIBASE_ENABLED=true
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE=true
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_SSL_TRUST=*
- SPRING_MAIL_PORT=25
- SPRING_MAIL_HOST=smtp-server
- TRUSTED_S2S_SERVICE_NAMES=cmc,probate_frontend,divorce_frontend,divorce,payment_app,ccd_gw,bar_api,api_gw,finrem_payment_service,ccpay_bubble,jui_webapp,xui_webapp,fpl_case_service,iac
- PAYBUBBLE_HOME_URL=https://ccpay-bubble-frontend-aat.service.core-compute-aat.internal
- PCI_PAL_CALLBACK_URL=https://core-api-mgmt-aat.azure-api.net/telephony-api/telephony/callback
- ASB_CONNECTION_STRING=some-azure-service-bus-connection-string
- APPINSIGHTS_INSTRUMENTATIONKEY=DUMMY
- CORE_CASE_DATA_API_URL=http://ccd-data-store-api:4452
ports:
- 8383:8080
depends_on:
- shared-database
- service-auth-provider-api
- sidam-api
volumes:
ccd-docker-azure-blob-data:
esdata1:
driver: local