-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose-remote.yml
109 lines (100 loc) · 2.76 KB
/
docker-compose-remote.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
version: "3"
networks:
xs2a-net:
volumes:
xs2a-connector-data:
services:
aspsp-profile:
image: adorsys/xs2a-aspsp-profile
container_name: aspsp_profile
restart: on-failure
environment:
- SPRING_PROFILES_ACTIVE=debug_mode
ports:
- "48080:8080"
networks:
- xs2a-net
xs2a-connector-examples-db:
image: centos/postgresql-95-centos7
container_name: xs2a_connector_examples_db
restart: on-failure
volumes:
- xs2a-connector-data:/var/lib/pgsql/data
- ./db-scripts/pg-create-schema.sh:/usr/share/container-scripts/postgresql/start/zzz-create-schema.sh
expose:
- 5432
ports:
- "5433:5432"
networks:
- xs2a-net
environment:
- POSTGRESQL_ADMIN_PASSWORD=postgres
- POSTGRESQL_DATABASE=consent
- POSTGRESQL_USER=cms
- POSTGRESQL_PASSWORD=cms
consent-management:
image: adorsys/xs2a-consent-management
container_name: consent_management
restart: on-failure
ports:
- "38080:8080"
networks:
- xs2a-net
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://xs2a-connector-examples-db/consent?currentSchema=consent
- SPRING_DATASOURCE_USERNAME=cms
- SPRING_DATASOURCE_PASSWORD=cms
- ASPSP_PROFILE_BASEURL=${ASPSP_PROFILE_BASEURL:-http://aspsp-profile:8080/api/v1}
- KEYCLOAK_AUTH_SERVER_URL=http://xs2a-idp:8080
- KEYCLOAK_CREDENTIALS_SECRET="${XS2A_CMS_CLIENT_SECRET}"
- SERVER_KEY=ledgers_conenctor_secret
depends_on:
- xs2a-connector-examples-db
ledgers:
image: adorsys/ledgers:develop
container_name: ledgers
restart: on-failure
networks:
- xs2a-net
ports:
- "8088:8088"
# - "8188:8000"
depends_on:
- xs2a-connector-examples-db
environment:
- SPRING_PROFILES_ACTIVE=postgres
- DB_HOST=xs2a-connector-examples-db
- DB_DATABASE=consent
- DB_USER=cms
- DB_PASSWORD=cms
xs2a-connector-examples:
image: adorsys/xs2a-connector-examples:develop
container_name: xs2a-connector-examples
restart: on-failure
ports:
- "8089:8089"
- "8189:8000"
environment:
- LEDGERS_URL=http://ledgers:8088
- SPRING_PROFILES_ACTIVE=postgres,mock-qwac,remote
- DB_HOST=xs2a_connector_examples_db
- DB_DATABASE=consent
- DB_USER=cms
- DB_PASSWORD=cms
networks:
- xs2a-net
xs2a-online-banking:
image: adorsys/xs2a-online-banking
container_name: online_banking
restart: on-failure
build:
context: online-banking-app
dockerfile: Dockerfile
ports:
- "8090:8090"
# - "8190:8000"
networks:
- xs2a-net
environment:
- XS2A_URL=http://xs2a-connector-examples:8089
- LEDGERS_URL=http://ledgers:8088