-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.fdx.yaml
189 lines (181 loc) · 6.18 KB
/
docker-compose.fdx.yaml
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
version: "3.0"
services:
developer-tpp:
image: cloudentity/openbanking-quickstart-developer-tpp:${VERSION}
container_name: developer-tpp
platform: linux/x86_64
restart: always
ports:
- "8090:8090"
volumes:
- ./data/ca.pem:/ca.pem
- ./data/tpp_cert.pem:/tpp_cert.pem
- ./data/tpp_key.pem:/tpp_key.pem
environment:
- AUTHORIZE_URL=${ACP_URL}/${TENANT}/${SERVER}/oauth2/authorize
- TOKEN_URL=${ACP_MTLS_URL}/${TENANT}/${SERVER}/oauth2/token
- ISSUER_URL=${ACP_MTLS_URL}/${TENANT}/${SERVER}
- USERINFO_URL=${ACP_MTLS_URL}/${TENANT}/${SERVER}/userinfo
- REDIRECT_URL=https://${APP_HOST}:8090/callback
- BANK_URL=http://bank:8070
- SPEC=fdx
- CLIENT_ID=${DEVELOPER_TPP_CLIENT_ID}
depends_on:
configuration:
condition: service_completed_successfully
financroo-tpp:
image: cloudentity/openbanking-quickstart-financroo-tpp:${VERSION}
container_name: financroo-tpp
platform: linux/x86_64
restart: always
ports:
- "8091:8091"
volumes:
- ./data:/certs
- ./mount/financroo-tpp:/app/data
env_file:
- .env
environment:
- UI_URL=https://${APP_HOST}:8091
- TENANT=${TENANT}
- GIN_MODE=debug # change to release to disable gin debug
- SPEC=fdx
- BANK_URL=http://bank:8070
- OPENBANKING_SERVER_ID=${SERVER}
- ENABLE_TLS_SERVER=true
- REDIRECT_URL=https://${APP_HOST}:8091/api/callback
- CLIENT_ID=${FINANCROO_TPP_CLIENT_ID}
depends_on:
configuration:
condition: service_completed_successfully
consent-page:
image: cloudentity/openbanking-quickstart-consent-page:${VERSION}
container_name: consent-page
platform: linux/x86_64
restart: always
ports:
- "7080:8080"
volumes:
- ./mount/consent-page-fdx:/data
- ./data/ca.pem:/ca.pem
- ./data/bank_cert.pem:/bank_cert.pem
- ./data/bank_key.pem:/bank_key.pem
env_file:
- .env
environment:
- ISSUER_URL=${ACP_MTLS_URL}/${TENANT}/system
- BANK_URL=http://bank:8070
- LOG_LEVEL=debug
- SPEC=fdx
- GIN_MODE=debug # change to release to disable gin debug
- OTP_MODE=mock # change to custom to enable custom OTP handling
- MFA_CLAIM=sub # for mobile use mobile_verified
- CLIENT_ID=${CONSENT_PAGE_CLIENT_ID}
depends_on:
configuration:
condition: service_completed_successfully
bank:
image: cloudentity/openbanking-quickstart-bank:${VERSION}
container_name: bank
platform: linux/x86_64
restart: always
ports:
- "8070:8070"
volumes:
- ./data/ca.pem:/ca.pem
- ./data/bank_cert.pem:/bank_cert.pem
- ./data/bank_key.pem:/bank_key.pem
- ./mount/bank-fdx:/app/data
environment:
- ISSUER_URL=${ACP_MTLS_URL}/${TENANT}/${SERVER}
- SPEC=fdx
- GIN_MODE=debug
- USER_IDENTIFIER_CLAIM=customer_id
- CLIENT_SECRET=8DPOMd3ZOvsjuUnU9goRMHTIUUXtSkgwQeo8v_S74aE
- CLIENT_ID=${BANK_CLIENT_ID}
depends_on:
configuration:
condition: service_completed_successfully
configuration:
container_name: configuration
platform: linux/x86_64
image: cloudentity/openbanking-quickstart-configuration:${VERSION}
restart: on-failure
volumes:
- ./data/tpp_cert.pem:/certs/tpp_cert.pem
- ./data/ca.pem:/certs/ca.pem
- ./data/variables.yaml:/variables.yaml
- ./data/imports/system.tmpl:/app/imports-fdx/system.tmpl
- ./data/imports/fdx.tmpl:/app/imports-fdx/fdx.tmpl
- ./data/imports/tenant.tmpl:/app/imports-fdx/tenant.tmpl
- ./data/imports/bank-customers.tmpl:/app/imports-fdx/bank-customers.tmpl
command:
- /app/main
- --tenant-url
- ${CONFIGURATION_TENANT_URL}
- --tenant
- ${CONFIGURATION_TENANT}
- --client-id
- ${CONFIGURATION_CLIENT_ID}
- --client-secret
- ${CONFIGURATION_CLIENT_SECRET}
- --templates-dirs
- /app/imports-fdx
- --variables-file
- /variables.yaml
- --verbose
consent-admin-portal:
image: cloudentity/openbanking-quickstart-consent-admin-portal:${VERSION}
container_name: consent-admin-portal
platform: linux/x86_64
restart: always
ports:
- "8086:8086"
volumes:
- ./data/ca.pem:/ca.pem
- ./data/bank_cert.pem:/bank_cert.pem
- ./data/bank_key.pem:/bank_key.pem
environment:
- SYSTEM_CLIENT_ID=${SYSTEM_ADMIN_CONSENT_CLIENT_ID}
- SYSTEM_ISSUER_URL=${ACP_MTLS_URL}/${TENANT}/system
- OPENBANKING_WORKSPACE_ID=${SERVER}
- SPEC=fdx
- INTROSPECT_ISSUER_URL=${ACP_MTLS_URL}/${TENANT}/bank-admins
depends_on:
configuration:
condition: service_completed_successfully
consent-self-service-portal:
image: cloudentity/openbanking-quickstart-consent-self-service-portal:${VERSION}
container_name: consent-self-service-portal
platform: linux/x86_64
restart: always
ports:
- "8085:8085"
env_file:
- .env
volumes:
- ./data/ca.pem:/ca.pem
- ./data/bank_cert.pem:/bank_cert.pem
- ./data/bank_key.pem:/bank_key.pem
environment:
- SYSTEM_CLIENT_ID=${SYSTEM_BANK_CLIENT_ID}
- LOGIN_CLIENT_ID=${CONSENT_SELF_SERVICE_CLIENT_ID}
- INTROSPECT_CLIENT_ID=${CONSENT_SELF_SERVICE_BACKEND_CLIENT_ID}
- SYSTEM_ISSUER_URL=${ACP_MTLS_URL}/${TENANT}/system
- BANK_URL=http://bank:8070
- LOGIN_AUTHORIZATION_SERVER_URL=${ACP_URL}
- LOGIN_AUTHORIZATION_SERVER_ID=${BANK_CUSTOMERS_SERVER}
- LOGIN_TENANT_ID=${TENANT}
- INTROSPECT_ISSUER_URL=${ACP_MTLS_URL}/${TENANT}/${BANK_CUSTOMERS_SERVER}
- OPENBANKING_SERVER_ID=${SERVER}
- SPEC=fdx
- BANK_CLIENT_TOKEN_URL=${ACP_MTLS_URL}/${TENANT}/${SERVER}/oauth2/token
- BANK_CLIENT_ID=${INTERNAL_BANK_CLIENT_ID}
- BANK_CLIENT_SECRET=pMPBmv62z3Jt1S4sWl2qRhOhEGPVZ9EcujGL7Xy0-E0
- BANK_CLIENT_SCOPES=introspect_openbanking_tokens, introspect_tokens, revoke_tokens
- BANK_ACCOUNTS_ENDPOINT=http://bank:8070/internal/accounts
- BANK_CLIENT_CERT_FILE=/bank_cert.pem
- BANK_CLIENT_KEY_FILE=/bank_key.pem
depends_on:
configuration:
condition: service_completed_successfully