-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose-profiles.yml
490 lines (470 loc) · 24.4 KB
/
docker-compose-profiles.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
version: "3.9"
networks:
obref:
services:
# profiles supported from docker compose version >= 1.28
# For macOs upgrade docker desktop to 3.2.x
# For Linux upgrade docker-compose using pip or any other package manager to install the latest version.
# profiles:
# all: Runs all profile platform services (docker-compose --profile all up)
# metrics: Runs mandatory platform services and metrics profile services (docker-compose --profile metrics up)
# analytics: Runs mandatory platform services and analytics profile services (docker-compose --profile metrics --profile analytics up)
# all-no-analytics: runs all without analytics
# all-no-bank-ui: runs all without bank-ui
# These services without profile will run always, they are the mandatory platform services
mongo-mongodb:
container_name: mongo-mongodb
image: mongo
ports:
- "27017:27017"
volumes:
- ./mongo/:/docker-entrypoint-initdb.d/:ro
- $PWD/mongodata:/data/db # Persist mongo data to $HOME/mongo
hostname: mongo-mongodb
networks:
obref:
config:
container_name: config
image: eu.gcr.io/openbanking-214714/obri/config
ports:
- "8888:8888"
environment:
CONFIG_GIT_IGNORE_LOCAL_SSH: "false"
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8888
HOSTNAME: config
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "http://localhost:8888/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
admin:
container_name: admin
image: eu.gcr.io/openbanking-214714/obri/admin
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8082:8082"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8082
HOSTNAME: admin
volumes:
- ./forgerock-openbanking-backstage/forgerock-openbanking-admin/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-backstage/forgerock-openbanking-admin/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8082/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
jwkms:
container_name: jwkms
image: eu.gcr.io/openbanking-214714/obri/jwkms
ports:
- "8097:8097"
- "9097:9097"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8097 -Dam.internal-port=8443 -Dam.port=8074
HOSTNAME: jwkms
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9097,server=y,suspend=n
volumes:
- ./forgerock-openbanking-jwkms/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-jwkms/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8097/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
directory-services:
container_name: directory-services
image: eu.gcr.io/openbanking-214714/obri/directory-services
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8076:8076"
- "9076:9076"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8076 -Dam.internal-port=8443 -Dam.port=8074
HOSTNAME: directory-services
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9076,server=y,suspend=n
volumes:
- ./forgerock-openbanking-directory-services/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-directory-services/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8076/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
scgw:
container_name: scgw
image: eu.gcr.io/openbanking-214714/obri/scgw
ports:
- "8074:8074"
- "9074:9074"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8074 -Dam.internal-port=8443 -Dam.port=8074
HOSTNAME: scgw
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9074,server=y,suspend=n
volumes:
- ./forgerock-openbanking-gateway/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-gateway/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
aliases:
- service.metrics.dev-ob.forgerock.financial
- service.directory.dev-ob.forgerock.financial
- am.dev-ob.forgerock.financial
- as.aspsp.dev-ob.forgerock.financial
- matls.service.directory.dev-ob.forgerock.financial
- matls.rs.aspsp.dev-ob.forgerock.financial
- matls.service.bank.dev-ob.forgerock.financial
- service.bank.dev-ob.forgerock.financial
- jwkms.dev-ob.forgerock.financial
- matls.as.aspsp.dev-ob.forgerock.financial
- swagger.dev-ob.forgerock.financial
- scgw.dev-ob.forgerock.financial
- rcs.aspsp.dev-ob.forgerock.financial
- admin.dev-ob.forgerock.financial
- service.register.dev-ob.forgerock.financial
- register.dev-ob.forgerock.financial
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8074/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
as-api:
container_name: as-api
image: eu.gcr.io/openbanking-214714/obri/as-api
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8066:8066"
- "9066:9066"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8066 -Dam.internal-port=8443 -Dam.port=8074
HOSTNAME: as-api
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9066,server=y,suspend=n
volumes:
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-as/forgerock-openbanking-as-api/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-as/forgerock-openbanking-as-api/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8066/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
rs-api:
container_name: rs-api
image: eu.gcr.io/openbanking-214714/obri/rs-api
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8094:8094"
- "9094:9094"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8094 -Dam.internal-port=8443 -Dam.port=8074
HOSTNAME: rs-api
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9094,server=y,suspend=n
volumes:
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-rs/forgerock-openbanking-rs-api/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-rs/forgerock-openbanking-rs-api/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8094/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
rs-rcs:
container_name: rs-rcs
image: eu.gcr.io/openbanking-214714/obri/rs-rcs
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8084:8084"
- "9084:9084"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8084 -Dam.internal-port=8443 -Dam.port=8074
HOSTNAME: rs-rcs
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9084,server=y,suspend=n
volumes:
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-rs/forgerock-openbanking-rs-rcs/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-rs/forgerock-openbanking-rs-rcs/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8084/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
rs-store:
container_name: rs-store
image: eu.gcr.io/openbanking-214714/obri/rs-store
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8086:8086"
- "9086:9086"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8086
HOSTNAME: rs-store
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9086,server=y,suspend=n
GOOGLE_APPLICATION_CREDENTIALS: /opt/ob/config/gcp-credentials.json
volumes:
- ${GCP_CREDENTIALS:-./gcp-credentials.json}:/opt/ob/config/gcp-credentials.json:ro
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-rs/forgerock-openbanking-rs-store/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-rs/forgerock-openbanking-rs-store/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8086/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
rs-ui:
container_name: rs-ui
image: eu.gcr.io/openbanking-214714/obri/rs-ui
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8092:8092"
- "9092:9092"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8092 -Dam.internal-port=8443
HOSTNAME: rs-ui
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9092,server=y,suspend=n
volumes:
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-rs/forgerock-openbanking-rs-store/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-aspsp/forgerock-openbanking-aspsp-rs/forgerock-openbanking-rs-store/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8092/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
monitoring:
container_name: monitoring
image: eu.gcr.io/openbanking-214714/obri/monitoring
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8073:8073"
- "9073:9073"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8073 -Dam.internal-port=8443
HOSTNAME: monitoring
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9073,server=y,suspend=n
volumes:
- ./forgerock-openbanking-backstage/forgerock-openbanking-monitoring/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-backstage/forgerock-openbanking-monitoring/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8073/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
metrics-service:
container_name: metrics-services
image: eu.gcr.io/openbanking-214714/obri/metrics-service
profiles: ["all","all-no-bank-ui", "metrics", "analytics","all-no-analytics"]
ports:
- "8098:8098"
- "9098:9098"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
#java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8098 -Dam.internal-port=8443
java_opts: -Xmx3072m -XX:+UseConcMarkSweepGC -Dserver.port=8098 -Dam.internal-port=8443
HOSTNAME: metrics-services
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9098,server=y,suspend=n
volumes:
- ./forgerock-openbanking-backstage/forgerock-openbanking-metrics/forgerock-openbanking-metrics-services/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-backstage/forgerock-openbanking-metrics/forgerock-openbanking-metrics-services/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8098/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
openam:
build:
context: .
dockerfile: forgerock-am/Dockerfile
args:
# @see README file to get the binaries
AM_WAR_NAME: "OpenAM-6.5.1-68f2815add.war"
AMSTER_ZIP: "Amster-6.5.1.zip"
image: openam:local
container_name: openam
ports:
- "80:8080"
- "443:8443"
- "5005:5005" # debug port, @see https://github.com/ForgeCloud/ob-deploy/wiki/Debugging-Open-Banking-AM#debug-configuration-for-intellij
extra_hosts:
- "openam:127.0.0.1" # this will create a new host in etc/hosts file "127.0.0.1 openam" to avoid the error BuildKit file Read Only
environment:
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:5005,server=y,suspend=n
networks:
obref:
auth-ui:
image: eu.gcr.io/openbanking-214714/obri/auth-ui
container_name: auth-ui
profiles: ["all","all-no-bank-ui", "metrics", "analytics","all-no-analytics"]
ports:
- "4203:443"
environment:
DOMAIN: .dev-ob.forgerock.financial
AUTHENTICATION_URL: https://am.dev-ob.forgerock.financial:8074
DIRECTORY_BACKEND_URL: https://service.directory.dev-ob.forgerock.financial:8074/directory-services
volumes:
- ./keystore/ui/k-wildcard.dev-ob.forgerock.financial.key:/etc/nginx/certs/dev-ob.forgerock.financial.key
- ./keystore/ui/wildcard.dev-ob.forgerock.financial.crt:/etc/nginx/certs/dev-ob.forgerock.financial.crt
- ./keystore/ui/dev-ob.forgerock.financial.conf:/etc/nginx/conf.d/default.conf
directory-ui:
image: eu.gcr.io/openbanking-214714/obri/directory-ui
container_name: directory-ui
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "4202:443"
environment:
DOMAIN: .dev-ob.forgerock.financial
DIRECTORY_BACKEND_URL: https://service.directory.dev-ob.forgerock.financial:8074
AUTHENTICATION_URL: https://am.dev-ob.forgerock.financial:8074
ACCOUNT_REQUEST_BACKEND_URL: https://rs.aspsp.dev-ob.forgerock.financial:8074/api/account-requests
volumes:
- ./keystore/ui/k-wildcard.dev-ob.forgerock.financial.key:/etc/nginx/certs/dev-ob.forgerock.financial.key
- ./keystore/ui/wildcard.dev-ob.forgerock.financial.crt:/etc/nginx/certs/dev-ob.forgerock.financial.crt
- ./keystore/ui/dev-ob.forgerock.financial.conf:/etc/nginx/conf.d/default.conf
register:
container_name: register
image: eu.gcr.io/openbanking-214714/obri/register
profiles: ["all","all-no-bank-ui","all-no-analytics"]
ports:
- "8100:8100"
- "9100:9100"
environment:
SPRING_CLOUD_CONFIG_URI: http://config.dev-ob.forgerock.financial:8888
SPRING_PROFILES_ACTIVE: native,console-logging
java_opts: -Xmx256m -XX:+UseConcMarkSweepGC -Dserver.port=8100 -Dam.internal-port=8443 -Dam.port=8074
HOSTNAME: register
CONSOLE_LOG_PATTERN: "%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr([%X{traceId}]){green} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=*:9100,server=y,suspend=n
volumes:
- ./forgerock-openbanking-devportal/forgerock-openbanking-register/src/main/resources/unfiltered/keystore/keystore.jks:/opt/ob/config/keystore.jks:ro
- ./forgerock-openbanking-devportal/forgerock-openbanking-register/src/main/resources/unfiltered/keystore/truststore.jks:/etc/ssl/certs/java/cacerts
networks:
obref:
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:8066/actuator/health"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
manual-onboarding:
image: eu.gcr.io/openbanking-214714/obri/manual-onboarding
container_name: manual-onboarding
profiles: [ "all","all-no-analytics"]
ports:
- "4204:443"
environment:
DOMAIN: .dev-ob.forgerock.financial
AUTHORIZATION_URL: https://as.aspsp.dev-ob.forgerock.financial:8074
AUTHENTICATION_URL: https://am.dev-ob.forgerock.financial:8074
REGISTER_BACKEND_URL: https://service.register.dev-ob.forgerock.financial:8074
volumes:
- ./keystore/ui/k-wildcard.dev-ob.forgerock.financial.key:/etc/nginx/certs/dev-ob.forgerock.financial.key
- ./keystore/ui/wildcard.dev-ob.forgerock.financial.crt:/etc/nginx/certs/dev-ob.forgerock.financial.crt
- ./keystore/ui/dev-ob.forgerock.financial.conf:/etc/nginx/conf.d/default.conf
bank-ui:
image: eu.gcr.io/openbanking-214714/obri/bank-ui
container_name: bank-ui
profiles: ["all","all-no-analytics"]
ports:
- "4201:443"
environment:
DOMAIN: .dev-ob.forgerock.financial
AUTHORIZATION_URL: https://as.aspsp.dev-ob.forgerock.financial:8074
AUTHENTICATION_URL: https://am.dev-ob.forgerock.financial:8074
REMOVE_CONSENT_URL: https://rcs.aspsp.dev-ob.forgerock.financial:8074
volumes:
- ./keystore/ui/k-wildcard.dev-ob.forgerock.financial.key:/etc/nginx/certs/dev-ob.forgerock.financial.key
- ./keystore/ui/wildcard.dev-ob.forgerock.financial.crt:/etc/nginx/certs/dev-ob.forgerock.financial.crt
- ./keystore/ui/dev-ob.forgerock.financial.conf:/etc/nginx/conf.d/default.conf
analytics-ui:
image: eu.gcr.io/openbanking-214714/obri/analytics-ui:latest
container_name: analytics-ui
profiles: ["all","all-no-bank-ui", "analytics"]
ports:
- "4206:443"
environment:
DOMAIN: .dev-ob.forgerock.financial
#TEMPLATE: hsbc
# The following env vars are all based on DOMAIN but can be set with any value (interesting locally with different ports)
NODE_BACKEND_URL: https://analytics.dev-ob.forgerock.financial:5000/api # "https://node.analytics.DOMAIN"
METRICS_BACKEND_URL: https://service.metrics.dev-ob.forgerock.financial:8074
volumes:
- ./keystore/ui/k-wildcard.dev-ob.forgerock.financial.key:/etc/nginx/certs/dev-ob.forgerock.financial.key
- ./keystore/ui/wildcard.dev-ob.forgerock.financial.crt:/etc/nginx/certs/dev-ob.forgerock.financial.crt
- ./keystore/ui/dev-ob.forgerock.financial.conf:/etc/nginx/conf.d/default.conf
analytics-node:
image: eu.gcr.io/openbanking-214714/obri/analytics-node:latest
container_name: analytics-node
profiles: [ "all","all-no-bank-ui", "analytics" ]
ports:
- "5000:8443"
environment:
DOMAIN: .dev-ob.forgerock.financial
NODE_ENV: "compose"
PORT: 8443
# The following env vars are all based on DOMAIN but can be set with any value (interesting locally with different ports)
APP_URL: https://analytics-ui:443
CORS_ORIGIN: https://analytics.dev-ob.forgerock.financial:4206
volumes:
- ./keystore/ui/k-wildcard.dev-ob.forgerock.financial.key:/etc/nginx/certs/dev-ob.forgerock.financial.key
- ./keystore/ui/wildcard.dev-ob.forgerock.financial.crt:/etc/nginx/certs/dev-ob.forgerock.financial.crt
- ./keystore/ui/dev-ob.forgerock.financial.conf:/etc/nginx/conf.d/default.conf