mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +00:00
Extend the 3-node etcd/raft cluster in BYFN to 5 nodes, in order to better support the documentation effort. This will allow users to experiment creating channels with less then 5 nodes, but avoid the pitfalls of a 2-node cluster. Change-Id: I5ba1d6039b4bb4864b2b97271de81fbfe91b4fb5 Signed-off-by: Yoav Tock <tock@il.ibm.com>
77 lines
2.6 KiB
YAML
77 lines
2.6 KiB
YAML
# Copyright IBM Corp. All Rights Reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
version: '2'
|
|
|
|
volumes:
|
|
orderer2.example.com:
|
|
orderer3.example.com:
|
|
orderer4.example.com:
|
|
orderer5.example.com:
|
|
|
|
networks:
|
|
byfn:
|
|
|
|
services:
|
|
|
|
orderer2.example.com:
|
|
extends:
|
|
file: base/peer-base.yaml
|
|
service: orderer-base
|
|
container_name: orderer2.example.com
|
|
networks:
|
|
- byfn
|
|
volumes:
|
|
- ./channel-artifacts/genesis.block:/var/hyperledger/orderer/orderer.genesis.block
|
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp:/var/hyperledger/orderer/msp
|
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/:/var/hyperledger/orderer/tls
|
|
- orderer2.example.com:/var/hyperledger/production/orderer
|
|
ports:
|
|
- 8050:7050
|
|
|
|
orderer3.example.com:
|
|
extends:
|
|
file: base/peer-base.yaml
|
|
service: orderer-base
|
|
container_name: orderer3.example.com
|
|
networks:
|
|
- byfn
|
|
volumes:
|
|
- ./channel-artifacts/genesis.block:/var/hyperledger/orderer/orderer.genesis.block
|
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp:/var/hyperledger/orderer/msp
|
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/:/var/hyperledger/orderer/tls
|
|
- orderer3.example.com:/var/hyperledger/production/orderer
|
|
ports:
|
|
- 9050:7050
|
|
|
|
orderer4.example.com:
|
|
extends:
|
|
file: base/peer-base.yaml
|
|
service: orderer-base
|
|
container_name: orderer4.example.com
|
|
networks:
|
|
- byfn
|
|
volumes:
|
|
- ./channel-artifacts/genesis.block:/var/hyperledger/orderer/orderer.genesis.block
|
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp:/var/hyperledger/orderer/msp
|
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/:/var/hyperledger/orderer/tls
|
|
- orderer4.example.com:/var/hyperledger/production/orderer
|
|
ports:
|
|
- 10050:7050
|
|
|
|
orderer5.example.com:
|
|
extends:
|
|
file: base/peer-base.yaml
|
|
service: orderer-base
|
|
container_name: orderer5.example.com
|
|
networks:
|
|
- byfn
|
|
volumes:
|
|
- ./channel-artifacts/genesis.block:/var/hyperledger/orderer/orderer.genesis.block
|
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp:/var/hyperledger/orderer/msp
|
|
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/:/var/hyperledger/orderer/tls
|
|
- orderer5.example.com:/var/hyperledger/production/orderer
|
|
ports:
|
|
- 11050:7050
|