Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. image: hyperledger/fabric-ca
  2. environment:
  3. - FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
  4. - FABRIC_CA_SERVER_CA_NAME=ca-org3
  5. - FABRIC_CA_SERVER_TLS_ENABLED=true
  6. - FABRIC_CA_SERVER_TLS_CERTFILE=/etc/hyperledger/fabric-ca-server-config/ca.org3.example.com-cert.pem
  7. - FABRIC_CA_SERVER_TLS_KEYFILE=/etc/hyperledger/fabric-ca-server-config/8d560caca38e3757c9704e68a53b2a3b00027ee0f940a5fd5f20051182c255a6_sk
  8. ports:
  9. - "9054:7054"
  10. 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'
  11. volumes:
  12. - ./org3-artifacts/crypto-config/peerOrganizations/org3.example.com/ca/:/etc/hyperledger/fabric-ca-server-config
  13. container_name: ca_peerOrg3
  14. networks:
  15. - byfn
  16.  
  17. "policy": {
  18. "3-of": [
  19. {
  20. "signed-by": 0
  21. },
  22. {
  23. "signed-by": 1
  24. },
  25. {
  26. "signed-by": 2
  27. }
  28. ]
  29. }
  30.  
  31. Profiles:
  32.  
  33. ThreeOrgsOrdererGenesis:
  34. Capabilities:
  35. <<: *ChannelCapabilities
  36. Orderer:
  37. <<: *OrdererDefaults
  38. Organizations:
  39. - *OrdererOrg
  40. Capabilities:
  41. <<: *OrdererCapabilities
  42. Consortiums:
  43. SampleConsortium:
  44. Organizations:
  45. - *Org1
  46. - *Org2
  47. - *Org3
  48. ThreeOrgsChannel:
  49. Consortium: SampleConsortium
  50. Application:
  51. <<: *ApplicationDefaults
  52. Organizations:
  53. - *Org1
  54. - *Org2
  55. - *Org3
  56. Capabilities:
  57. <<: *ApplicationCapabilities
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement