fabric-samples/basic-network
Devraj Singh 248746ce0b
Update docker-compose.yml
my network was not getting started when I was using this repo and when I cloned the repo from https://gerrit.hyperledger.org/r/admin/repos/fabric-samples then i was able to resolve my issue mentioned below

# Create the channel
docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com peer channel create -o orderer.example.com:7050 -c mychannel -f /etc/hyperledger/configtx/channel.tx
2019-07-11 08:59:08.309 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
Error: got unexpected status: FORBIDDEN -- implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied: permission denied

one of the major diff I have found that with new git clone cli had downloaded new images for couchdb 2.3 and that the reason I have updated this config file from image: hyperledger/fabric-couchdb to image: couchdb:2.3
2019-07-11 14:44:32 +05:30
..
config FAB-5995 Update samples to work with v1.0.2 2017-09-03 08:08:53 -04:00
crypto-config FAB-5995 Update samples to work with v1.0.2 2017-09-03 08:08:53 -04:00
.env FAB-4910 fix incorrect network spec 2017-06-22 09:09:53 +08:00
configtx.yaml [FAB-10185] Reorder for logical consistency 2018-05-17 11:06:09 -04:00
connection.json [FAB-12878] Add fabcar app using new prog model (TS) 2018-12-07 22:18:37 +00:00
connection.yaml [FAB-12878] Add fabcar app using new prog model (TS) 2018-12-07 22:18:37 +00:00
crypto-config.yaml [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
docker-compose.yml Update docker-compose.yml 2019-07-11 14:44:32 +05:30
generate.sh [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
init.sh [FAB-7584] Removes copy of creds to keystore 2018-01-03 10:46:57 +05:30
README.md [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
start.sh FABCI-284 Update CI Pipeline script 2019-03-29 11:05:06 -04:00
stop.sh FAB-4851 basic network sample 2017-06-21 05:46:02 +00:00
teardown.sh FAB-9294 eliminate excess noise in BYFN 2018-04-08 19:14:20 -04:00

Basic Network Config

Note that this basic configuration uses pre-generated certificates and key material, and also has predefined transactions to initialize a channel named "mychannel".

To regenerate this material, simply run generate.sh.

To start the network, run start.sh. To stop it, run stop.sh To completely remove all incriminating evidence of the network on your system, run teardown.sh.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License