74 lines
2.5 KiB
JSON
74 lines
2.5 KiB
JSON
|
{
|
||
|
"network-config": {
|
||
|
"orderer": [
|
||
|
{
|
||
|
"url": "grpcs://orderer.example.com:7050",
|
||
|
"server-hostname": "orderer.example.com",
|
||
|
"tls_cacerts": "/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt"
|
||
|
}
|
||
|
],
|
||
|
"org1": {
|
||
|
"name": "peerOrg1",
|
||
|
"mspid": "Org1MSP",
|
||
|
"peer1": {
|
||
|
"requests": "grpcs://peer0.org1.example.com:7051",
|
||
|
"events": "grpcs://peer0.org1.example.com:7053",
|
||
|
"server-hostname": "peer0.org1.example.com",
|
||
|
"tls_cacerts": "/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt"
|
||
|
},
|
||
|
"peer2": {
|
||
|
"requests": "grpcs://peer1.org1.example.com:7051",
|
||
|
"events": "grpcs://peer1.org1.example.com:7053",
|
||
|
"server-hostname": "peer1.org1.example.com",
|
||
|
"tls_cacerts": "/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt"
|
||
|
},
|
||
|
"admin": {
|
||
|
"key": "/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore",
|
||
|
"cert": "/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts"
|
||
|
}
|
||
|
},
|
||
|
"org2": {
|
||
|
"name": "peerOrg2",
|
||
|
"mspid": "Org2MSP",
|
||
|
"ca": "https://ca.org2.example.com:7054",
|
||
|
"peer1": {
|
||
|
"requests": "grpcs://peer0.org2.example.com:7051",
|
||
|
"events": "grpcs://peer0.org2.example.com:7053",
|
||
|
"server-hostname": "peer0.org2.example.com",
|
||
|
"tls_cacerts": "/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt"
|
||
|
},
|
||
|
"peer2": {
|
||
|
"requests": "grpcs://peer1.org2.example.com:7051",
|
||
|
"events": "grpcs://peer1.org2.example.com:7053",
|
||
|
"server-hostname": "peer1.org2.example.com",
|
||
|
"tls_cacerts": "/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt"
|
||
|
},
|
||
|
"admin": {
|
||
|
"key": "/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore",
|
||
|
"cert": "/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"host":"explorer",
|
||
|
"port":"8080",
|
||
|
"channel": "businesschannel",
|
||
|
"GOPATH":"../artifacts",
|
||
|
"keyValueStore":"/tmp/fabric-client-kvs",
|
||
|
"eventWaitTime":"30000",
|
||
|
"peer":"peer1",
|
||
|
"org":["org1"],
|
||
|
"users":[
|
||
|
{
|
||
|
"username":"admin",
|
||
|
"secret":"adminpw"
|
||
|
}
|
||
|
],
|
||
|
"mysql":{
|
||
|
"host":"mysql",
|
||
|
"port":"3306",
|
||
|
"database":"fabricexplorer",
|
||
|
"username":"root",
|
||
|
"passwd":"root"
|
||
|
}
|
||
|
}
|