Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: hyperledger/fabric-ca
- environment:
- - FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
- - FABRIC_CA_SERVER_CA_NAME=ca-org3
- - FABRIC_CA_SERVER_TLS_ENABLED=true
- - FABRIC_CA_SERVER_TLS_CERTFILE=/etc/hyperledger/fabric-ca-server-config/ca.org3.example.com-cert.pem
- - FABRIC_CA_SERVER_TLS_KEYFILE=/etc/hyperledger/fabric-ca-server-config/8d560caca38e3757c9704e68a53b2a3b00027ee0f940a5fd5f20051182c255a6_sk
- ports:
- - "9054:7054"
- command: sh -c 'fabric-ca-server start --ca.certfile /etc/hyperledger/fabric-ca-server-config/ca.org3.example.com-cert.pem --ca.keyfile /etc/hyperledger/fabric-ca-server-config/8d560caca38e3757c9704e68a53b2a3b00027ee0f940a5fd5f20051182c255a6_sk -b admin:adminpw -d'
- volumes:
- - ./org3-artifacts/crypto-config/peerOrganizations/org3.example.com/ca/:/etc/hyperledger/fabric-ca-server-config
- container_name: ca_peerOrg3
- networks:
- - byfn
- "policy": {
- "3-of": [
- {
- "signed-by": 0
- },
- {
- "signed-by": 1
- },
- {
- "signed-by": 2
- }
- ]
- }
- Profiles:
- ThreeOrgsOrdererGenesis:
- Capabilities:
- <<: *ChannelCapabilities
- Orderer:
- <<: *OrdererDefaults
- Organizations:
- - *OrdererOrg
- Capabilities:
- <<: *OrdererCapabilities
- Consortiums:
- SampleConsortium:
- Organizations:
- - *Org1
- - *Org2
- - *Org3
- ThreeOrgsChannel:
- Consortium: SampleConsortium
- Application:
- <<: *ApplicationDefaults
- Organizations:
- - *Org1
- - *Org2
- - *Org3
- Capabilities:
- <<: *ApplicationCapabilities
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement