123456789101112131415161718192021222324252627282930313233343536 |
- version: '2'
- services:
- ca:
- container_name: ca
- image: hyperledger/fabric-ca
- environment:
- - FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
- ports:
- - "7054:7054"
- 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
- volumes:
- - ./crypto-config/peerOrganizations/peerOrg1/ca:/etc/hyperledger/fabric-ca-server-config
- - ./fabricca/tlsOrg1:/etc/hyperledger/fabric-ca-server
- # ca1:
- # image: hyperledger/fabric-ca
- # environment:
- # - FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
- # ports:
- # - "8054:7054"
- # 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
- # volumes:
- # - ./channel/crypto-config/peerOrganizations/org2.example.com/ca/:/etc/hyperledger/fabric-ca-server-config
- # - ./fabricca/tlsOrg2:/etc/hyperledger/fabric-ca-server
- # container_name: ca_peerOrg2
- couchdb:
- container_name: couchdb
- image: hyperledger/fabric-couchdb
- ports:
- - 5984:5984
- environment:
- DB_URL: http://localhost:5984/member_db
|