Skip to content

Instantly share code, notes, and snippets.

View reasdom's full-sized avatar

Reasdom reasdom

View GitHub Profile
networks:
byfn:
services:
orderer.example.com:
extends:
file: base/docker-compose-base.yaml
service: orderer.example.com
container_name: orderer.example.com
networks:
@reasdom
reasdom / configtx.yaml
Created February 4, 2019 04:04
Sample configtx.yaml
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
---
################################################################################
#
# Section: Organizations
#
@reasdom
reasdom / configtx_0.yaml
Created February 4, 2019 04:09
Part of the sample configtx.yaml
Readers:
Type: Signature
Rule: "OR('OrdererMSP.member')"
@reasdom
reasdom / configtx_1.yaml
Last active February 4, 2019 04:13
Part of the sample configtx.yaml
Readers:
Type: ImplicitMeta
Rule: "ANY Readers"
@reasdom
reasdom / tree.txt
Created February 4, 2019 04:15
Tree structure of levels
Channel (top level)
Application
Org1
Org2
Orderer
OrdererOrg
@reasdom
reasdom / configtx_2.yaml
Created February 4, 2019 04:23
Part of the sample configtx.yaml
Admins:
Type: ImplicitMeta
Rule: "MAJORITY Admins"
@reasdom
reasdom / modified_config_0.json
Created February 4, 2019 11:22
Part of modified_config.json
"values": {
"BatchSize": {
"mod_policy": "Admins",
"value": {
"absolute_max_bytes": 103809024,
"max_message_count": 10,
"preferred_max_bytes": 524288
},
"version": "0"
}
@reasdom
reasdom / modified_config_1.json
Created February 4, 2019 11:25
Part of modified_config.json
"values": {
"BatchSize": {
"mod_policy": "Admins",
"value": {
"absolute_max_bytes": 103809024,
"max_message_count": 11,
"preferred_max_bytes": 524288
},
"version": "0"
},
@reasdom
reasdom / docker-compose-cli_0.yaml
Last active February 6, 2019 04:22
Part of docker-compose-cli.yaml
# Part of docker-compose-cli.yaml
networks:
byfn:
services:
orderer.example.com:
extends: # notice here!
file: base/docker-compose-base.yaml
service: orderer.example.com
container_name: orderer.example.com
@reasdom
reasdom / docker-compose-base.yaml
Created February 6, 2019 04:29
base/docker-compose-base.yaml
services:
orderer.example.com:
container_name: orderer.example.com
image: hyperledger/fabric-orderer:$IMAGE_TAG
environment:
- FABRIC_LOGGING_SPEC=INFO
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
- ORDERER_GENERAL_GENESISMETHOD=file
- ORDERER_GENERAL_GENESISFILE=/var/hyperledger/orderer/orderer.genesis.block