docker-compose-ca.yaml 953 B

12345678910111213141516171819202122232425262728
  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/331cc9c5fc570a5f0f88537ca49196a0158618a9411d051dc67e8ac9fcee03a2_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. couchdb:
  15. container_name: couchdbca
  16. #image: couchdb
  17. image: hyperledger/fabric-couchdb:x86_64-1.0.0-rc1
  18. ports:
  19. - 5984:5984
  20. volumes:
  21. - /var/hyperledger/couchdbca:/opt/couchdb/data
  22. environment:
  23. COUCHDB_USER: admin
  24. COUCHDB_PASSWORD: password
  25. DB_URL: http://localhost:5984/member_db