mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
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:
parent
3da5f8a450
commit
248746ce0b
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue