2
0

docker-compose-ca.yaml 803 B

12345678910111213141516171819202122232425
  1. version: '2'
  2. services:
  3. ca:
  4. container_name: ca
  5. image: hyperledger/fabric-ca
  6. environment:
  7. - FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
  8. ports:
  9. - 7054:7054
  10. command: sh -c 'fabric-ca-server start --ca.certfile /etc/hyperledger/fabric-ca-server-config/peerOrg1-cert.pem --ca.keyfile /etc/hyperledger/fabric-ca-server-config/d8a5b3cac1b821f6e4b487ceaf1fd239cdcfc310894150908b90f05e9179556a_sk -b admin:adminpw' -d
  11. volumes:
  12. - ./crypto-config/peerOrganizations/midea/ca:/etc/hyperledger/fabric-ca-server-config
  13. couchdb:
  14. container_name: couchdb
  15. #image: couchdb
  16. image: hyperledger/fabric-couchdb
  17. ports:
  18. - 5984:5984
  19. environment:
  20. COUCHDB_USER: admin
  21. COUCHDB_PASSWORD: password
  22. DB_URL: http://localhost:5984/member_db