-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-master.yml
More file actions
166 lines (158 loc) · 7.04 KB
/
docker-compose-master.yml
File metadata and controls
166 lines (158 loc) · 7.04 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
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
container_name: sqlserver_master
ports:
- "14433:1433"
volumes:
- E:/home/txnproc/docker/master/db/data:/var/opt/mssql/data
- E:/home/txnproc/docker/master/db/log:/var/opt/mssql/log
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=thisisalongpassword123!
eventstore:
image: eventstore/eventstore:24.2.0-jammy
container_name: eventstore_master
ports:
- "3113:1113"
- "4113:2113"
volumes:
- E:/home/txnproc/docker/master/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_HTTP_PORT=2113
- EVENTSTORE_EXT_IP=0.0.0.0
securityservice:
image: stuartferguson/securityservice:master
container_name: securityservice_master
volumes:
- E:/home/txnproc/docker/master/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
depends_on:
- sqlserver
messagingservice:
image: stuartferguson/messagingservice:master
container_name: messagingservice_master
volumes:
- E:/home/txnproc/docker/master/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
restart: on-failure
depends_on:
- eventstore
- securityservice
transactionprocessor:
image: stuartferguson/transactionprocessor:master
container_name: transactionprocessor_master
volumes:
- E:/home/txnproc/docker/master/trace:/home/txnproc/trace
ports:
- "5002:5002"
environment:
- ConnectionStrings:TransactionProcessorReadModel=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=TransactionProcessorReadModel;Encrypt=false
- 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:ClientId=serviceClient
- AppSettings:ClientSecret=d192cbc46d834d0da90e8a9d50ded543
- OperatorConfiguration:Safaricom:Url=http://testhosts:9000/api/safaricom
- OperatorConfiguration:PataPawaPrePay:Url=http://testhosts:9000/api/patapawaprepay
- OperatorConfiguration:PataPawaPrePay:ApiLogonRequired=true
- OperatorConfiguration:PataPawaPostPay:Url=http://testhosts:9000/PataPawaPostPayService/basichttp
- OperatorConfiguration:PataPawaPostPay:ApiLogonRequired=true
restart: on-failure
depends_on:
- eventstore
- securityservice
- testhosts
transactionprocessoracl:
image: stuartferguson/transactionprocessoracl:master
container_name: transactionprocessoracl_master
volumes:
- E:/home/txnproc/docker/master/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:master
container_name: testhosts_master
volumes:
- E:/home/txnproc/docker/master/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
depends_on:
- sqlserver
fileprocessor:
image: stuartferguson/fileprocessor:master
container_name: fileprocessor_master
volumes:
- E:/home/txnproc/docker/master/trace:/home/txnproc/trace
- E:/home/txnproc/docker/master/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://estatemanagement:5000
- AppSettings:ClientId=serviceClient
- AppSettings:ClientSecret=d192cbc46d834d0da90e8a9d50ded543
- ConnectionStrings:TransactionProcessorReadModel=server=sqlserver;user id=sa;password=thisisalongpassword123!;database=TransactionProcessorReadModel;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
restart: on-failure
depends_on:
- eventstore
- securityservice
callbackhandler:
image: stuartferguson/callbackhandler:master
container_name: callbackhandler_master
volumes:
- E:/home/txnproc/docker/master/trace:/home/txnproc/trace
ports:
- "5010:5010"
environment:
- EventStoreSettings:ConnectionString=esdb://admin:changeit@eventstore:2113?tls=false&tlsVerifyCert=false
- EventStoreSettings:Insecure=true