version: '2' services: orderer0: container_name: orderer0 image: hyperledger/fabric-orderer environment: - GRPC_TRACE=all - GRPC_VERBOSITY=debug - ORDERER_GENERAL_LOGLEVEL=debug - ORDERER_GENERAL_LISTENADDRESS=0.0.0.0 - ORDERER_GENERAL_GENESISMETHOD=file - ORDERER_GENERAL_GENESISFILE=/etc/hyperledger/configtx/orderer.block - ORDERER_GENERAL_LOCALMSPID=OrdererMSP - ORDERER_GENERAL_LOCALMSPDIR=/etc/hyperledger/msp/orderer - ORDERER_GENERAL_TLS_ENABLED=true - ORDERER_GENERAL_TLS_PRIVATEKEY=/etc/hyperledger/tls/orderer/server.key - ORDERER_GENERAL_TLS_CERTIFICATE=/etc/hyperledger/tls/orderer/server.crt - ORDERER_GENERAL_TLS_ROOTCAS=[/etc/hyperledger/tls/orderer/ca.crt, /etc/hyperledger/tls/peers/ca.crt] working_dir: /opt/gopath/src/github.com/hyperledger/fabric/orderer command: orderer ports: - 7050:7050 volumes: - ./crypto-config/ordererOrganizations/ordererOrg1/:/etc/hyperledger/configtx - ./crypto-config/ordererOrganizations/ordererOrg1/orderers/orderer.ordererOrg1/msp/:/etc/hyperledger/msp/orderer - ./crypto-config/ordererOrganizations/ordererOrg1/orderers/orderer.ordererOrg1/tls/:/etc/hyperledger/tls/orderer - ./crypto-config/peerOrganizations/peerOrg1/peers/peer0.peerOrg1/tls/:/etc/hyperledger/tls/peers