-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathdocker-compose-postgres.yml
154 lines (133 loc) · 4.68 KB
/
docker-compose-postgres.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
version: "3.5"
services:
# =====================================================================
# Database Service: PostgreSQL Server
# =====================================================================
postgres:
image: postgres:latest
container_name: postgres
hostname: postgres
privileged: true
environment:
POSTGRES_PASSWORD: Demo123!
ports:
- "5432:5432"
networks:
- digitalnet
volumes:
- ./scripts/postgres:/docker-entrypoint-initdb.d
- postgresdata:/var/lib/postgresql/data
restart: unless-stopped
# =====================================================================
# Digital Broker Service Configuration
# =====================================================================
broker:
image: digisic/digitalbroker:2.1.0.1
container_name: broker
hostname: broker
ports:
- "8161:8161"
- "61616:61616"
networks:
- digitalnet
restart: unless-stopped
# =====================================================================
# Digital Credit Service Configuration
# =====================================================================
credit:
image: digisic/digitalcredit:2.1.0.1
container_name: credit
hostname: credit
environment:
# Debug Options
LOGGING_LEVEL_IO_DIGISIC_CREDIT: INFO
# Digital Broker Connection
SPRING_ARTEMIS_MODE: native
SPRING_ARTEMIS_HOST: broker
SPRING_ARTEMIS_PORT: 61616
SPRING_ARTEMIS_USER: admin
SPRING_ARTEMIS_PASSWORD: admin
# Credit Application Process
IO_DIGISIC_CREDIT_APP_PROCESS_ENABLED: 'true'
IO_DIGISIC_CREDIT_APP_PROCESS_TIME: 20
# Digital Credit Application Process JMS Queues
IO_DIGISIC_PARTNER_CREDIT_APP_REQUEST: CREDIT.APP.REQUEST
IO_DIGISIC_PARTNER_CREDIT_APP_RESPONSE: CREDIT.APP.RESPONSE
# Database Configuration
SPRING_DATASOURCE_PLATFORM: postgres
SPRING_DATASOURCE_USERNAME: digitaluser
SPRING_DATASOURCE_PASSWORD: Demo123!
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/digitalcredit
SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
ports:
- "3500:8080"
networks:
- digitalnet
depends_on:
- postgres
- broker
restart: unless-stopped
# =====================================================================
# Digital Bank Service Configuration
# =====================================================================
bank:
image: digisic/digitalbank:2.1.0.4
container_name: bank
hostname: bank
environment:
# Debug Options
LOGGING_LEVEL_IO_DIGISIC_BANK: INFO
# Digital Broker connection
SPRING_ARTEMIS_MODE: native
SPRING_ARTEMIS_HOST: broker
SPRING_ARTEMIS_PORT: 61616
SPRING_ARTEMIS_USER: admin
SPRING_ARTEMIS_PASSWORD: admin
# Digital Credit Connection
IO_DIGISIC_CREDIT_ENABLED: 'true'
IO_DIGISIC_CREDIT_PROTOCOL: http
IO_DIGISIC_CREDIT_HOST: credit
IO_DIGISIC_CREDIT_PORT: 8080
IO_DIGISIC_CREDIT_CONTEXT-PATH: /credit
IO_DIGISIC_CREDIT_USERNAME: [email protected]
IO_DIGISIC_CREDIT_PASSWORD: Demo123!
# Digital Credit Application Process JMS Queues
IO_DIGISIC_PARTNER_CREDIT_APP_REQUEST: CREDIT.APP.REQUEST
IO_DIGISIC_PARTNER_CREDIT_APP_RESPONSE: CREDIT.APP.RESPONSE
# ATM Location Service Connection
IO_DIGISIC_BANK_ATM_PROTOCOL: https
IO_DIGISIC_BANK_ATM_HOST: bankingservices.io # uat-api.synapsefi.com #
IO_DIGISIC_BANK_ATM_PORT:
# VISA Direct Payment Service
IO_DIGISIC_BANK_VISA_PROTOCOL: https
IO_DIGISIC_BANK_VISA_HOST: creditservices.io
IO_DIGISIC_BANK_VISA_PORT:
# Open Banking API Service
IO_DIGISIC_BANK_OBP_ENABLED: 'true'
IO_DIGISIC_BANK_OBP_CONSUMER_KEY: vwfpvwfr1kngt0up2jelebzmvxrhst4vhxvw1jm3
IO_DIGISIC_BANK_OBP_VERSION: v4.0.0
IO_DIGISIC_BANK_OBP_PROTOCOL: https
IO_DIGISIC_BANK_OBP_HOST:
IO_DIGISIC_BANK_OBP_PORT:
# Database Configuration
SPRING_DATASOURCE_PLATFORM: postgres
SPRING_DATASOURCE_USERNAME: digitaluser
SPRING_DATASOURCE_PASSWORD: Demo123!
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/digitalbank
SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
ports:
- "8080:8080"
networks:
- digitalnet
depends_on:
- postgres
- broker
- credit
restart: unless-stopped
# =====================================================================
# Docker Network Configuration
# =====================================================================
networks:
digitalnet:
volumes:
postgresdata: