mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Test network Nano bash provides a set of minimal bash scripts to run a Fabric network on your local machine. The network is functionally equivalent to the docker-based Test Network, you can therefore run all the tutorials and samples that target the Test Network. The Fabric release binaries are utilized rather than using docker containers to avoid all unnecessary layers. Only the chaincode and chaincode builder runs in a docker container behind the scenes. Using the Fabric binaries also makes it simple for Fabric developers to iteratively and quickly modify Fabric code and test a Fabric network as a user. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
# Copyright IBM Corp. All Rights Reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# "OrdererOrgs" - Definition of organizations managing orderer nodes
|
|
# ---------------------------------------------------------------------------
|
|
OrdererOrgs:
|
|
- Name: Orderer
|
|
Domain: example.com
|
|
EnableNodeOUs: true
|
|
|
|
Specs:
|
|
- Hostname: orderer
|
|
SANS:
|
|
- 127.0.0.1
|
|
- Hostname: orderer2
|
|
SANS:
|
|
- 127.0.0.1
|
|
- Hostname: orderer3
|
|
SANS:
|
|
- 127.0.0.1
|
|
- Hostname: orderer4
|
|
SANS:
|
|
- 127.0.0.1
|
|
- Hostname: orderer5
|
|
SANS:
|
|
- 127.0.0.1
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# "PeerOrgs" - Definition of organizations managing peer nodes
|
|
# ---------------------------------------------------------------------------
|
|
PeerOrgs:
|
|
- Name: Org1
|
|
Domain: org1.example.com
|
|
EnableNodeOUs: true
|
|
|
|
Template:
|
|
Count: 2
|
|
SANS:
|
|
- 127.0.0.1
|
|
Users:
|
|
Count: 1
|
|
|
|
- Name: Org2
|
|
Domain: org2.example.com
|
|
EnableNodeOUs: true
|
|
Template:
|
|
Count: 2
|
|
SANS:
|
|
- 127.0.0.1
|
|
Users:
|
|
Count: 1
|