-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
203 lines (193 loc) · 8.42 KB
/
docker-compose.yml
File metadata and controls
203 lines (193 loc) · 8.42 KB
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
version: '3'
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
container_name: sqlserver
ports:
- "14433:1433"
volumes:
- F:\home\txnproc\docker\db\data:/var/opt/mssql/data
- F:\home\txnproc\docker\db\log:/var/opt/mssql/log
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=thisisalongpassword123!
eventstore:
image: eventstore/eventstore:21.2.0-buster-slim
container_name: eventstore
ports:
- "3113:1113"
- "4113:2113"
volumes:
- F:\home\txnproc\docker\eventstore:/var/lib/eventstore
environment:
- EVENTSTORE_RUN_PROJECTIONS=all
- EVENTSTORE_START_STANDARD_PROJECTIONS=true
- EVENTSTORE_INSECURE=true
- EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true
- EVENTSTORE_ENABLE_EXTERNAL_TCP=true
securityservice:
image: stuartferguson/securityservice
container_name: securityservice
volumes:
- F:\home\txnproc\docker\trace:/home/txnproc/trace
ports:
- "5001:5001"
environment:
- ServiceOptions:PublicOrigin=https://securityservice:5001
- ServiceOptions:IssuerUrl=https://securityservice:5001
- ConnectionStrings:PersistedGrantDbContext=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=PersistedGrantStore;Encrypt=false
- ConnectionStrings:ConfigurationDbContext=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=Configuration;Encrypt=false
- ConnectionStrings:AuthenticationDbContext=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=AuthenticationDbContext;Encrypt=false
- ConnectionStrings:HealthCheck=server=sqlserver;database=master;user id=sa;password=thisisalongpassword123!;Encrypt=false |
- urls=https://*:5001
restart: on-failure:5
depends_on:
- sqlserver
estatemanagement:
image: stuartferguson/estatemanagement
container_name: estatemanagement
volumes:
- F:\home\txnproc\docker\trace:/home/txnproc/trace
ports:
- "5000:5000"
environment:
- EventStoreSettings:ConnectionString=esdb://admin:changeit@eventstore:2113?tls=false&tlsVerifyCert=false
- EventStoreSettings:Insecure=true
- AppSettings:SecurityService=https://securityservice:5001
- AppSettings:Authority=https://securityservice:5001
- SecurityConfiguration:Authority=https://securityservice:5001
- urls=http://*:5000
- ConnectionStrings:EstateReportingReadModel=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=EstateReportingReadModel;Encrypt=false
- ConnectionStrings:HealthCheck=server=sqlserver;database=master;user id=sa;password=thisisalongpassword123!;Encrypt=false |
depends_on:
- sqlserver
- eventstore
- securityservice
#estatereporting:
# image: stuartferguson/estatereportingapi
# container_name: estatereporting
# volumes:
# - F:\home\txnproc\docker\trace:/home/txnproc/trace
# ports:
# - "5005:5005"
# environment:
# - EventStoreSettings:ConnectionString=esdb://admin:changeit@eventstore:2113?tls=false&tlsVerifyCert=false
# - EventStoreSettings:Insecure=true
# - AppSettings:SecurityService=https://securityservice:5001
# - SecurityConfiguration:Authority=https://securityservice:5001
# - urls=http://*:5005
# - ConnectionStrings:EstateReportingReadModel=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=EstateReportingReadModel;Encrypt=false
# - ConnectionStrings:HealthCheck=server=sqlserver;database=master;user id=sa;password=thisisalongpassword123!;Encrypt=false |
# depends_on:
# - sqlserver
# - eventstore
# - securityservice
messagingservice:
image: stuartferguson/messagingservice
container_name: messagingservice
volumes:
- F:\home\txnproc\docker\trace:/home/txnproc/trace
ports:
- "5006:5006"
environment:
- EventStoreSettings:ConnectionString=esdb://admin:changeit@eventstore:2113?tls=false&tlsVerifyCert=false
- EventStoreSettings:Insecure=true
- AppSettings:SecurityService=https://securityservice:5001
- SecurityConfiguration:Authority=https://securityservice:5001
- urls=http://*:5006
- AppSettings:EmailProxy=Integration
- AppSettings:SMSProxy=Integration
depends_on:
- eventstore
- securityservice
transactionprocessor:
image: stuartferguson/transactionprocessor
container_name: transactionprocessor
volumes:
- F:\home\txnproc\docker\trace:/home/txnproc/trace
ports:
- "5002:5002"
environment:
- EventStoreSettings:ConnectionString=esdb://admin:changeit@eventstore:2113?tls=false&tlsVerifyCert=false
- EventStoreSettings:Insecure=true
- AppSettings:SecurityService=https://securityservice:5001
- SecurityConfiguration:Authority=https://securityservice:5001
- urls=http://*:5002
- AppSettings:EstateManagementApi=http://estatemanagement:5000
- AppSettings:VoucherManagementApi=http://vouchermanagement:5007
- AppSettings:ClientId=serviceClient
- AppSettings:ClientSecret=d192cbc46d834d0da90e8a9d50ded543
- OperatorConfiguration:Safaricom:Url=http://testhosts:9000/api/safaricom
- OperatorConfiguration:PataPawaPostPay:Url=http://testhosts:9000/PataPawaPostPayService/basichttp
- OperatorConfiguration:PataPawaPrePay:Url=http://testhosts:9000/api/patapawaprepay
depends_on:
- eventstore
- securityservice
- estatemanagement
- testhosts
transactionprocessoracl:
image: stuartferguson/transactionprocessoracl
container_name: transactionprocessoracl
volumes:
- F:\home\txnproc\docker\trace:/home/txnproc/trace
ports:
- "5003:5003"
environment:
- AppSettings:SecurityService=https://securityservice:5001
- SecurityConfiguration:Authority=https://securityservice:5001
- urls=http://*:5003
- AppSettings:TransactionProcessorApi=http://transactionprocessor:5002
- AppSettings:ClientId=serviceClient
- AppSettings:ClientSecret=d192cbc46d834d0da90e8a9d50ded543
depends_on:
- securityservice
- transactionprocessor
testhosts:
image: stuartferguson/testhosts
container_name: testhosts
volumes:
- F:\home\txnproc\docker\trace:/home/txnproc/trace
environment:
- ConnectionStrings:TestBankReadModel=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=TestBankReadModel;Encrypt=false
- ConnectionStrings:PataPawaReadModel=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=PataPawaReadModel;Encrypt=false
ports:
- "9000:9000"
restart: on-failure:5
depends_on:
- sqlserver
fileprocessor:
image: stuartferguson/fileprocessor
container_name: fileprocessor
volumes:
- F:\home\txnproc\docker\trace:/home/txnproc/trace
- F:\home\txnproc\docker\bulkfiles:/home/txnproc/bulkfiles
ports:
- "5009:5009"
environment:
- EventStoreSettings:ConnectionString=esdb://admin:changeit@eventstore:2113?tls=false&tlsVerifyCert=false
- EventStoreSettings:Insecure=true
- AppSettings:SecurityService=https://securityservice:5001
- SecurityConfiguration:Authority=https://securityservice:5001
- urls=http://*:5009
- AppSettings:TransactionProcessorApi=http://transactionProcessor:5002
- AppSettings:EstateManagementApi=http://estateManamgement:5000
- AppSettings:ClientId=serviceClient
- AppSettings:ClientSecret=d192cbc46d834d0da90e8a9d50ded543
- ConnectionStrings:EstateReportingReadModel=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=EstateReportingReadModel;Encrypt=false
- ConnectionStrings:HealthCheck=server=sqlserver;database=master;user id=sa;password=thisisalongpassword123!;Encrypt=false |
- AppSettings:TemporaryFileLocation=/home/txnproc/bulkfiles/temporary
- AppSettings:FileProfiles:0:ListeningDirectory=/home/txnproc/bulkfiles/safaricom
- AppSettings:FileProfiles:1:ListeningDirectory=/home/txnproc/bulkfiles/voucher
depends_on:
- eventstore
- securityservice
callbackhandler:
image: stuartferguson/callbackhandler
container_name: callbackhandler
volumes:
- F:\home\txnproc\docker\trace:/home/txnproc/trace
ports:
- "5010:5010"
environment:
- EventStoreSettings:ConnectionString=esdb://admin:changeit@eventstore:2113?tls=false&tlsVerifyCert=false
- EventStoreSettings:Insecure=true