-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathconfig.yaml
183 lines (141 loc) · 4.52 KB
/
config.yaml
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
name: "default-svc-cluster-local-network"
version: 1.4.3
client:
organization: org1
logging:
level: info
cryptoconfig:
path: /crypto-config
credentialStore:
path: /tmp/default-svc-cluster-local-store
cryptoStore:
path: /tmp/default-svc-cluster-local-msp
BCCSP:
security:
enabled: true
default:
provider: "SW"
hashAlgorithm: "SHA2"
softVerify: true
level: 256
tlsCerts:
systemCertPool: true
channels:
mainchannel:
peers:
peer0-org1-service:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
policies:
queryChannelConfig:
minResponses: 1
maxTargets: 1
retryOpts:
attempts: 5
initialBackoff: 1000ms
maxBackoff: 10s
backoffFactor: 2.0
organizations:
org1:
mspid: org1
cryptopath: peerOrganizations/org1/users/Admin@org1/msp
peers:
- peer0-org1-service
- peer1-org1-service
org2:
mspid: org2
cryptopath: peerOrganizations/org2/users/Admin@org2/msp
peers:
- peer0-org2-service
- peer1-org2-service
orderers:
_default:
grpcOptions:
keep-alive-time: 0s
keep-alive-timeout: 20s
keep-alive-permit: false
fail-fast: false
allow-insecure: false
orderer0-service:
grpcOptions:
ssl-target-name-override: orderer0-service
grpc-max-send-message-length: 15
tlsCACerts:
path: /crypto-config/ordererOrganizations/default.svc.cluster.local/msp/tlscacerts/ca-root-7054.pem
orderer1-service:
grpcOptions:
ssl-target-name-override: orderer1-service
grpc-max-send-message-length: 15
tlsCACerts:
path: /crypto-config/ordererOrganizations/default.svc.cluster.local/msp/tlscacerts/ca-root-7054.pem
orderer2-service:
grpcOptions:
ssl-target-name-override: orderer2-service
grpc-max-send-message-length: 15
tlsCACerts:
path: /crypto-config/ordererOrganizations/default.svc.cluster.local/msp/tlscacerts/ca-root-7054.pem
peers:
_default:
grpcOptions:
keep-alive-time: 1s
keep-alive-timeout: 20s
keep-alive-permit: false
fail-fast: false
allow-insecure: false
peer0-org1-service:
grpcOptions:
ssl-target-name-override: peer0-org1-service
grpc.http2.keepalive_time: 15
tlsCACerts:
path: /crypto-config/peerOrganizations/org1/msp/tlscacerts/ca-root-7054.pem
peer1-org1-service:
grpcOptions:
ssl-target-name-override: peer1-org1-service
grpc.http2.keepalive_time: 15
tlsCACerts:
path: /crypto-config/peerOrganizations/org1/msp/tlscacerts/ca-root-7054.pem
peer0-org2-service:
grpcOptions:
ssl-target-name-override: peer0-org2-service
grpc.http2.keepalive_time: 15
tlsCACerts:
path: /crypto-config/peerOrganizations/org2/msp/tlscacerts/ca-root-7054.pem
peer1-org2-service:
grpcOptions:
ssl-target-name-override: peer1-org2-service
grpc.http2.keepalive_time: 15
tlsCACerts:
path: /crypto-config/peerOrganizations/org2/msp/tlscacerts/ca-root-7054.pem
entityMatchers:
peer:
- pattern: (\w*)peer0-org1-service(\w*)
urlSubstitutionExp: peer0-org1-service:7051
sslTargetOverrideUrlSubstitutionExp: peer0-org1-service
mappedHost: peer0-org1-service
- pattern: (\w*)peer1-org1-service(\w*)
urlSubstitutionExp: peer1-org1-service:7051
sslTargetOverrideUrlSubstitutionExp: peer1-org1-service
mappedHost: peer1-org1-service
- pattern: (\w*)peer0-org2-service(\w*)
urlSubstitutionExp: peer0-org2-service:7051
sslTargetOverrideUrlSubstitutionExp: peer0-org2-service
mappedHost: peer0-org2-service
- pattern: (\w*)peer1-org2-service(\w*)
urlSubstitutionExp: peer1-org2-service:7051
sslTargetOverrideUrlSubstitutionExp: peer1-org2-service
mappedHost: peer1-org2-service
orderer:
- pattern: (\w*)orderer0-service(\w*)
urlSubstitutionExp: orderer0-service:7050
sslTargetOverrideUrlSubstitutionExp: orderer0-service
mappedHost: orderer0-service
- pattern: (\w*)orderer1-service(\w*)
urlSubstitutionExp: orderer1-servicet:7050
sslTargetOverrideUrlSubstitutionExp: orderer1-service
mappedHost: orderer1-service
- pattern: (\w*)orderer2-service(\w*)
urlSubstitutionExp: orderer2-service:7050
sslTargetOverrideUrlSubstitutionExp: orderer2-service
mappedHost: orderer2-service