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
0xc2a3433f6aca9316a57006b73c0ddcff0da34c8f |
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
# --------------------------------------------------------------------------- | |
# "OrdererOrgs" - Definition of organizations managing orderer nodes | |
# --------------------------------------------------------------------------- | |
OrdererOrgs: | |
- Name: Orderer | |
Domain: myapp.com | |
Specs: | |
- Hostname: orderer | |
# --------------------------------------------------------------------------- |
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
- Name: hbo | |
Domain: hbo.myapp.com | |
Template: | |
Count: 3 | |
Users: | |
Count: 1 |
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
--- | |
################################################################################ | |
# | |
# Profile | |
# | |
# - Different configuration profiles may be encoded here to be specified | |
# as parameters to the configtxgen tool | |
# | |
################################################################################ |
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
Profiles: | |
SeriesOrdererGenesis: | |
Orderer: | |
<<: *OrdererDefaults | |
Organizations: | |
- *OrdererOrg | |
Consortiums: | |
SeriesConsortium: | |
Organizations: |
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
"start") | |
generateCerts | |
generateChannelArtifacts | |
#replacePrivateKey | |
#pullDockerImages | |
#startNetwork | |
;; |
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
function generateChannelArtifacts(){ | |
if [ ! -d ./channel-artifacts ]; then | |
mkdir channel-artifacts | |
fi | |
if [ ! -f $GOPATH/bin/configtxgen ]; then | |
go get github.com/hyperledger/fabric/common/configtx/tool/configtxgen | |
fi |
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
# Copyright IBM Corp. All Rights Reserved. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
version: '2' | |
services: | |
peer-base: | |
image: hyperledger/fabric-peer | |
environment: |
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
# Copyright IBM Corp. All Rights Reserved. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
version: '2' | |
services: | |
orderer.myapp.com: |
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
version: '2' | |
services: | |
caNetflix: | |
image: hyperledger/fabric-ca | |
environment: | |
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server | |
- FABRIC_CA_SERVER_CA_NAME=ca-netflix | |
- FABRIC_CA_SERVER_TLS_ENABLED=true | |
- FABRIC_CA_SERVER_TLS_CERTFILE=/etc/hyperledger/fabric-ca-server-config/ca.netflix.myapp.com-cert.pem |
OlderNewer