1234567891011121314151617181920212223242526 |
- version: '2'
- services:
- orderer0:
- container_name: orderer0
- image: hyperledger/fabric-orderer
- environment:
- - ORDERER_GENERAL_LOGLEVEL=debug
- - ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
- - ORDERER_GENERAL_GENESISMETHOD=file
- - ORDERER_GENERAL_GENESISFILE=/var/hyperledger/orderer/orderer.block
- - ORDERER_GENERAL_LOCALMSPID=OrdererMSP
- - ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/orderer/orderer.ordererOrg1
- # enabled TLS
- - ORDERER_GENERAL_TLS_ENABLED=true
- - ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/orderer/orderer.ordererOrg1/keystore/03ffdebe8574e21b4a6e5ed25493200db423d4e91477eccaa25268e2315fee33_sk
- - ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/orderer/orderer.ordererOrg1/signcerts/orderer.ordererOrg1-cert.pem
- - ORDERER_GENERAL_TLS_ROOTCAS=[/var/hyperledger/orderer/orderer.ordererOrg1/cacerts/ordererOrg1-cert.pem]
- working_dir: /opt/gopath/src/github.com/hyperledger/fabric
- command: orderer
- volumes:
- - ./crypto-config/ordererOrganizations/ordererOrg1/orderers/:/var/hyperledger/orderer
- ports:
- - 7050:7050
|