github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/examples/dchackfest/samples/e2e/peer-base/peer-base.yaml (about)

     1  version: '2'
     2  services:
     3    peer-base:
     4      image: hyperledger/fabric-peer:${ARCH_TAG}-1.0.0-alpha
     5      environment:
     6        - CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
     7        # the following setting starts chaincode containers on the same
     8        # bridge network as the peers
     9        # https://docs.docker.com/compose/networking/
    10        - CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=e2e_default
    11        #- CORE_LOGGING_LEVEL=ERROR
    12        - CORE_LOGGING_LEVEL=DEBUG
    13        - CORE_PEER_TLS_ENABLED=true
    14        - CORE_PEER_ENDORSER_ENABLED=true
    15        - CORE_PEER_GOSSIP_USELEADERELECTION=true
    16        - CORE_PEER_GOSSIP_ORGLEADER=false
    17        # The following setting skips the gossip handshake since we are
    18        # are not doing mutual TLS
    19        - CORE_PEER_GOSSIP_SKIPHANDSHAKE=true
    20        - CORE_PEER_PROFILE_ENABLED=true
    21      working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
    22      command: peer node start --peer-defaultchain=false