docker-compose-orderer0.yaml 1003 B

1234567891011121314151617181920212223242526
  1. version: '2'
  2. services:
  3. orderer0:
  4. container_name: orderer0
  5. image: hyperledger/fabric-orderer
  6. environment:
  7. - ORDERER_GENERAL_LOGLEVEL=debug
  8. - ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
  9. - ORDERER_GENERAL_GENESISMETHOD=file
  10. - ORDERER_GENERAL_GENESISFILE=/var/hyperledger/orderer/orderer.block
  11. - ORDERER_GENERAL_LOCALMSPID=OrdererMSP
  12. - ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/orderer/localMspConfig
  13. # enabled TLS
  14. - ORDERER_GENERAL_TLS_ENABLED=true
  15. - ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/orderer/localMspConfig/keystore/ordererSigner.pem
  16. - ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/orderer/localMspConfig/signcerts/orderer0Signer.pem
  17. - ORDERER_GENERAL_TLS_ROOTCAS=[/var/hyperledger/orderer/localMspConfig/cacerts/ordererOrg0.pem]
  18. working_dir: /opt/gopath/src/github.com/hyperledger/fabric
  19. command: orderer
  20. volumes:
  21. - ./crypto/orderer:/var/hyperledger/orderer
  22. ports:
  23. - "7050:7050"