fabric-samples/test-network/organizations/ccp-template.yaml
Naser Mirzaei 1dbf999992 fix ccp template and generator to include orderer and channel
Signed-off-by: Naser Mirzaei <nasermirzaei89@gmail.com>
2020-08-28 00:42:38 +04:30

55 lines
1.2 KiB
YAML
Executable file

---
name: test-network-org${ORG}
version: 1.0.0
client:
organization: Org${ORG}
connection:
timeout:
peer:
endorser: '300'
organizations:
Org${ORG}:
mspid: Org${ORG}MSP
peers:
- peer0.org${ORG}.example.com
certificateAuthorities:
- ca.org${ORG}.example.com
channels:
mychannel:
orderers:
- orderer.example.com
peers:
peer0.org${ORG}.example.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
discover: true
peers:
peer0.org${ORG}.example.com:
url: grpcs://localhost:${P0PORT}
tlsCACerts:
pem: |
${PEERPEM}
grpcOptions:
ssl-target-name-override: peer0.org${ORG}.example.com
hostnameOverride: peer0.org${ORG}.example.com
orderers:
orderer.example.com:
url: grpcs://localhost:${ORDERERPORT}
tlsCACerts:
pem: |
${ORDERERPEM}
grpcOptions:
ssl-target-name-override: orderer.example.com
hostnameOverride: orderer.example.com
certificateAuthorities:
ca.org${ORG}.example.com:
url: https://localhost:${CAPORT}
caName: ca-org${ORG}
tlsCACerts:
pem:
- |
${CAPEM}
httpOptions:
verify: false