Comments (5)
Currently, you can modified the docker-compose.yml file, and map your own membersrvc.yaml into the nodes.
from docker-compose-files.
Thank you!
I changed docker-compose-with-membersrvc.yml file by the following way:
membersrvc:
image: yeasy/hyperledger-membersrvc:latest
restart: unless-stopped
expose:
- "7054"
volumes: # docker.sock is mapped as the default CORE_VM_ENDPOINT
- /var/run/docker.sock:/var/run/docker.sock
- ./membersrvc.yaml:/go/bin/membersrvc.yaml
the membersrvc.yaml is from https://github.com/hyperledger/fabric/blob/master/membersrvc/membersrvc.yaml and I added some user/pw.
when starting by compose, it can 't get login with new added users.
Do you mean that I should create a new image like yeasy/hyperledger-membersrvc:latest, the new image's Dockerfile is like this https://github.com/hyperledger/fabric/blob/master/membersrvc/Dockerfile,but I replace membersrvc.yaml files. such as if the new images is named as user1/hyperledger-membersrvc:customerized. then change the docker-compose-with-membersrvc.yml from "image: yeasy/hyperledger-membersrvc:latest" to "user1/hyperledger-membersrvc:customerized"
Thank you in advance!
from docker-compose-files.
The membersrvc.yaml path is incorrect.
It should be $GOPATH/src/github.com/hyperledger/fabric/membersrvc/membersrvc.yaml
.
A possible easier way is to update that file insides the container, and submit as a new image.
from docker-compose-files.
@yqbjtu: Were you able to add an user ? If yes could you guide me on that
from docker-compose-files.
The membersrvc is migrating to fabric-ca project, FYI.
github.com/hyperledger/fabric-ca
from docker-compose-files.
Related Issues (20)
- error in scripts/download_images.sh
- Does the block explorer not work with mysql 8.0.4? HOT 5
- Error: got unexpected status: BAD_REQUEST -- HOT 2
- v1.1.0 rc1 chaincode instantiate失败 API error (404): {"message":"network v110rc1_default not found"} HOT 4
- <channel-ID.block> file disappears after restarting the network HOT 2
- Error: Got unexpected status: BAD_REQUEST HOT 1
- error: [Orderer.js]: sendBroadcast - timed out after:250000 [2018-06-04 12:43:17.982] [ERROR] Create-Channel - Error: REQUEST_TIMEOUT
- How to use fabric v1.2 ca-test with mutual tls HOT 1
- make test_cc_install sometimes fails with v1.2 - need to rerun it few times to succeed HOT 2
- hyperledger rpc端口问题 HOT 1
- 请教chaincode接口调用产生transaction的问题 HOT 1
- [channel: mychannel1] Rejecting broadcast of config message from 172.26.0.11:35706 because of error: error validating channel creation transaction for new channel 'mychannel1', could not succesfully apply update to template configuration: error authorizing update: error validating ReadSet: existing config does not contain element for [Group] /Channel/Application/Org2MSP but was in the read set HOT 4
- orderer.genesis.block: is a directory
- Can't make orderer-docker
- 1.4版本好多报错:Error response from daemon: manifest for hyperledger/fabric-nodeenv:1.4.6 not found: manifest unknown: manifest unknown HOT 1
- Error response from daemon: manifest for hyperledger/fabric-ca:2.0.0 not found: manifest unknown: manifest unknown HOT 1
- ERRO 029 Error creating connection to peer address vp0:7051: grpc: timed out when dialing
- haproxy_web这个默认的用户名和密码是什么? HOT 1
- chatWithPeer -> ERRO 029 Error creating connection to peer address vp0:7051: grpc: timed out when dialing HOT 5
- where is the docker-compose-1orgs-1peers-dev.yaml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-compose-files.