Giter Site home page Giter Site logo

Comments (5)

yeasy avatar yeasy commented on August 10, 2024

Currently, you can modified the docker-compose.yml file, and map your own membersrvc.yaml into the nodes.

from docker-compose-files.

yqbjtu avatar yqbjtu commented on August 10, 2024

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.

yeasy avatar yeasy commented on August 10, 2024

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.

bvan17 avatar bvan17 commented on August 10, 2024

@yqbjtu: Were you able to add an user ? If yes could you guide me on that

from docker-compose-files.

yeasy avatar yeasy commented on August 10, 2024

The membersrvc is migrating to fabric-ca project, FYI.

github.com/hyperledger/fabric-ca

from docker-compose-files.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.