github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/bddtests/environments/orderer-1-kafka-1/docker-compose.yml (about) 1 version: '2' 2 services: 3 zookeeper: 4 image: hyperledger/fabric-zookeeper 5 6 orderer0: 7 image: hyperledger/fabric-testenv-orderer 8 environment: 9 - ORDERER_GENERAL_LISTENADDRESS=0.0.0.0 10 - ORDERER_GENERAL_GENESISPROFILE=SampleInsecureKafka 11 - CONFIGTX_ORDERER_KAFKA_BROKERS=[kafka0:9092] 12 - CONFIGTX_ORDERER_ORDERERTYPE=kafka 13 working_dir: /opt/gopath/src/github.com/hyperledger/fabric/orderer 14 command: orderer 15 ports: 16 - '7050' 17 depends_on: 18 - kafka0 19 20 kafka0: 21 image: hyperledger/fabric-kafka 22 environment: 23 KAFKA_BROKER_ID: 0 24 KAFKA_UNCLEAN_LEADER_ELECTION_ENABLE: "false" 25 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 26 depends_on: 27 - zookeeper