-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.yaml
51 lines (44 loc) · 1.45 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
client:
peers:
# peer0
- host: "localhost"
port: 7051
eventHost: "localhost"
eventPort: 7053
primary: true
tls:
# Certificate location absolute path
certificate: "$GOPATH/src/github.com/servntire/servntire-demo/fixtures/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/cacerts/org1.example.com-cert.pem"
serverHostOverride: "peer0.org1.example.com"
tls:
enabled: true
security:
enabled: true
hashAlgorithm: "SHA2"
level: 256
tcert:
batch:
size: 200
orderer:
host: "localhost"
port: 7050
tls:
# Certificate location absolute path
certificate: "$GOPATH/src/github.com/servntire/servntire-demo/fixtures/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/cacerts/example.com-cert.pem"
serverHostOverride: "orderer.example.com"
logging:
level: info
fabricCA:
tlsEnabled: true
id: "Org1MSP"
name: "ca-org1"
homeDir: "/tmp/"
mspDir: "msp"
serverURL: "https://localhost:7054"
certfiles :
- "$GOPATH/src/github.com/servntire/servntire-demo/fixtures/tls/fabricca/ca/ca_root.pem"
client:
keyfile: "$GOPATH/src/github.com/servntire/servntire-demo/fixtures/tls/fabricca/client/client_client1-key.pem"
certfile: "$GOPATH/src/github.com/servntire/servntire-demo/fixtures/tls/fabricca/client/client_client1.pem"
cryptoconfig:
path: "$GOPATH/src/github.com/servntire/servntire-demo/fixtures/channel/crypto-config"