2
0

docker-compose-ca.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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/ca.peerOrg1-cert.pem --ca.keyfile /etc/hyperledger/fabric-ca-server-config/a792a6b4c48a6063e964a2097cc75ce2fc5fc19d696125c9e15226afe0b956a1_sk -b admin:adminpw' -d
  11. volumes:
  12. - ./crypto-config/peerOrganizations/peerOrg1/ca:/etc/hyperledger/fabric-ca-server-config
  13. - ./fabricca/tlsOrg1:/etc/hyperledger/fabric-ca-server
  14. # ca1:
  15. # image: hyperledger/fabric-ca
  16. # environment:
  17. # - FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
  18. # ports:
  19. # - "8054:7054"
  20. # command: sh -c 'fabric-ca-server start --ca.certfile /etc/hyperledger/fabric-ca-server-config/org2.example.com-cert.pem --ca.keyfile /etc/hyperledger/fabric-ca-server-config/464d550fe9bf9e7d8976cdf59d1a5d472598f54c058c3546317c5c5fb0ddfd6e_sk -b admin:adminpw' -d
  21. # volumes:
  22. # - ./channel/crypto-config/peerOrganizations/org2.example.com/ca/:/etc/hyperledger/fabric-ca-server-config
  23. # - ./fabricca/tlsOrg2:/etc/hyperledger/fabric-ca-server
  24. # container_name: ca_peerOrg2
  25. couchdb:
  26. container_name: couchdb
  27. image: hyperledger/fabric-couchdb
  28. ports:
  29. - 5984:5984
  30. environment:
  31. DB_URL: http://localhost:5984/member_db