forked from adorsys/open-banking-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
90 lines (81 loc) · 2.65 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
# This Docker-Compose file is DEMO. Will pull released docker images from DockerHub.
version: "3.3"
networks:
opba-net:
services:
postgres:
image: "postgres"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=docker
- POSTGRES_DB=open_banking
ports:
#HOST:CONTAINER
- "15432:5432"
volumes:
- ./opba-db/src/main/resources/init.sql:/docker-entrypoint-initdb.d/init.sql
- ./fintech-examples/fintech-db-schema/src/main/resources/init.sql:/docker-entrypoint-initdb.d/fintech-init.sql
networks:
- opba-net
open-banking-gateway:
environment:
- SPRING_LIQUIBASE_PARAMETERS_ADORSYS-SANDBOX-URL=https://obg-bank-dev-xs2a.cloud.adorsys.de
- SPRING_LIQUIBASE_PARAMETERS_ADORSYS-HBCI-SANDBOX-URL=http://hbci-sandbox:8090/hbci-mock/
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/open_banking?currentSchema=banking_protocol
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=docker
- PROTOCOL_XS2A_PKCS12_KEYSTORE=/pkcs12/sample-qwac.keystore
- FACADE_ENCRYPTION_KEYSETPATH=/keysetpath/example-keyset.json
- FACADE_URLS_EMBEDDED-UI-BASE-URL=http://localhost:14200
- PROTOCOL_GATEWAY-BASE-URL=http://localhost:18085
image: "adorsys/open-banking-gateway-open-banking-gateway:0.30.0.1"
ports:
- "18085:8085"
volumes:
- ./opba-protocols/xs2a-protocol/src/main/resources/:/pkcs12/
- ./opba-banking-protocol-facade/src/main/resources/:/keysetpath/
depends_on:
- postgres
networks:
- opba-net
fintech-ui:
environment:
- BACKEND_URL=http://fintech-server:8086
restart: on-failure
image: "adorsys/open-banking-gateway-fintech-ui:0.30.0.1"
ports:
- "24200:4200"
depends_on:
- fintech-server
networks:
- opba-net
fintech-server:
environment:
- TPP_URL=http://open-banking-gateway:8085
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/open_banking?currentSchema=fintech
- FINTECH-UI_HOST=http://localhost:24200
image: "adorsys/open-banking-gateway-fintech-server:0.30.0.1"
ports:
- "18086:8086"
depends_on:
- postgres
networks:
- opba-net
consent-ui:
environment:
- BACKEND_URL=http://open-banking-gateway:8085
restart: on-failure
image: "adorsys/open-banking-gateway-consent-ui:0.30.0.1"
ports:
- "14200:4200"
depends_on:
- open-banking-gateway
networks:
- opba-net
hbci-sandbox-server:
restart: on-failure
image: "adorsys/open-banking-gateway-hbci-sandbox-server:0.30.0.1"
ports:
- "18090:8090"
networks:
- opba-net