-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose-all-with-h2.yml
104 lines (95 loc) · 2.16 KB
/
docker-compose-all-with-h2.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
version: "3"
networks:
xs2a-net:
volumes:
xs2a-gateway-data:
services:
gateway:
container_name: ledgers-xs2a-gateway-app
build:
context: .
dockerfile: Dockerfile.gateway
restart: on-failure
ports:
- "8089:8089"
- "8000:8000"
environment:
- SPRING_PROFILES_ACTIVE=mock-qwac
- LEDGERS_URL=http://ledgers:8088
- ASPSP_PROFILE_BASEURL=http://profile:48080/api/v1
- CONSENT_SERVICE_BASEURL=http://consent:38080
- SECURITY_BASIC_ENABLED=false
networks:
- xs2a-net
depends_on:
- profile
- ledgers
- consent
profile:
container_name: ledgers-xs2a-profile-app
build:
context: .
dockerfile: Dockerfile.profile
restart: on-failure
ports:
- "48080:48080"
networks:
- xs2a-net
environment:
- SECURITY_BASIC_ENABLED=false
consent:
container_name: ledgers-xs2a-consent-app
build:
context: .
dockerfile: Dockerfile.consent
restart: on-failure
ports:
- "38080:38080"
- "38000:8000"
environment:
- ASPSP_PROFILE_BASEURL=http://profile:48080/api/v1
- SPRING_PROFILES_ACTIVE=h2
- DB_URL=jdbc:h2:/var/lib/data/xs2adbs/consent;DB_CLOSE_DELAY=-1
- DB_USER=sa
- DB_PASSWORD=sa
- SECURITY_BASIC_ENABLED=false
volumes:
- xs2a-gateway-data:/var/lib/data
networks:
- xs2a-net
depends_on:
- profile
ledgers:
container_name: ledgers-xs2a-app
build:
context: .
dockerfile: Dockerfile.ledgers
restart: on-failure
ports:
- "8088:8088"
depends_on:
- fakesmtp
environment:
- SPRING_PROFILES_ACTIVE=h2
- DB_URL=jdbc:h2:/var/lib/data/xs2adbs/ledgers;DB_CLOSE_DELAY=-1
- DB_USER=sa
- DB_PASSWORD=sa
- LEDGERS_MOCKBANK_DATA_LOAD=true
- SPRING_MAIL_HOST=fakesmtp
volumes:
- xs2a-gateway-data:/var/lib/data
networks:
- xs2a-net
fakesmtp:
container_name: ledgers-fakesmtp-app
build:
context: .
dockerfile: Dockerfile.fakesmtp
image: adorsys/ledgers-fakesmtp-app:latest
restart: on-failure
ports:
- "2500:2500"
networks:
- xs2a-net
volumes:
- xs2a-gateway-data:/var/lib/data