Created
December 10, 2018 13:41
-
-
Save kctam/cc4bdfba91d29a1cbd7808c2826a9185 to your computer and use it in GitHub Desktop.
Hyperledger Fabric Multi-Channel Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Organizations: | |
- &OrdererOrg | |
Name: OrdererOrg | |
ID: OrdererMSP | |
MSPDir: crypto-config/ordererOrganizations/example.com/msp | |
- &Org1 | |
Name: Org1MSP | |
ID: Org1MSP | |
MSPDir: crypto-config/peerOrganizations/org1.example.com/msp | |
AnchorPeers: | |
- Host: peer0.org1.example.com | |
Port: 7051 | |
- &Org2 | |
Name: Org2MSP | |
ID: Org2MSP | |
MSPDir: crypto-config/peerOrganizations/org2.example.com/msp | |
AnchorPeers: | |
- Host: peer0.org2.example.com | |
Port: 7051 | |
- &Org3 | |
Name: Org3MSP | |
ID: Org3MSP | |
MSPDir: crypto-config/peerOrganizations/org3.example.com/msp | |
AnchorPeers: | |
- Host: peer0.org3.example.com | |
Port: 7051 | |
Orderer: &OrdererDefaults | |
OrdererType: solo | |
Addresses: | |
- orderer.example.com:7050 | |
BatchTimeout: 2s | |
BatchSize: | |
MaxMessageCount: 10 | |
AbsoluteMaxBytes: 99 MB | |
PreferredMaxBytes: 512 KB | |
Kafka: | |
Brokers: | |
- 127.0.0.1:9092 | |
Organizations: | |
Application: &ApplicationDefaults | |
Organizations: | |
Capabilities: | |
Global: &ChannelCapabilities | |
V1_1: true | |
Orderer: &OrdererCapabilities | |
V1_1: true | |
Application: &ApplicationCapabilities | |
V1_1: true | |
Profiles: | |
OrdererGenesis: | |
Capabilities: | |
<<: *ChannelCapabilities | |
Orderer: | |
<<: *OrdererDefaults | |
Organizations: | |
- *OrdererOrg | |
Capabilities: | |
<<: *OrdererCapabilities | |
Consortiums: | |
SampleConsortium: | |
Organizations: | |
- *Org1 | |
- *Org2 | |
- *Org3 | |
ChannelAll: | |
Consortium: SampleConsortium | |
Application: | |
<<: *ApplicationDefaults | |
Organizations: | |
- *Org1 | |
- *Org2 | |
- *Org3 | |
Capabilities: | |
<<: *ApplicationCapabilities | |
Channel12: | |
Consortium: SampleConsortium | |
Application: | |
<<: *ApplicationDefaults | |
Organizations: | |
- *Org1 | |
- *Org2 | |
Capabilities: | |
<<: *ApplicationCapabilities |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment