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
This commit is contained in:
Devraj Singh 2019-07-11 14:44:32 +05:30 committed by GitHub
parent 3da5f8a450
commit 248746ce0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,8 @@ services:
couchdb: couchdb:
container_name: couchdb container_name: couchdb
image: hyperledger/fabric-couchdb #image: hyperledger/fabric-couchdb
image: couchdb:2.3
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password # Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
# for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode. # for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode.
environment: environment: