github.com/simranvc/fabric-ca@v0.0.0-20191030094829-acc364294dde/docker-compose-peer1-org1.yaml (about)

     1  version: '2'
     2  networks:
     3    bymn:
     4  services:
     5  
     6  
     7  
     8    peer1-org1:
     9      container_name: peer1.org1.example.com
    10      image: hyperledger/fabric-peer
    11      environment:
    12        - CORE_PEER_ID=peer1.org1.example.com
    13        - CORE_PEER_ADDRESS=peer1.org1.example.com:7051
    14        - CORE_PEER_LISTENADDRESS=0.0.0.0:7051
    15        - CORE_PEER_LOCALMSPID=org1MSP
    16        - CORE_PEER_CHAINCODEADDRESS=peer1.org1.example.com:7057
    17        - CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:7057
    18        - CORE_PEER_MSPCONFIGPATH=/tmp/hyperledger/org1/peer1/assets/msp
    19        - CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
    20        - CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=guide_fabric-ca
    21        - FABRIC_LOGGING_SPEC=debug
    22        - CORE_PEER_TLS_ENABLED=true
    23        - CORE_PEER_TLS_CERT_FILE=/tmp/hyperledger/org1/peer1/assets/tls-msp/signcerts/cert.pem
    24        - CORE_PEER_TLS_KEY_FILE=/tmp/hyperledger/org1/peer1/assets/tls-msp/keystore/key.pem
    25        - CORE_PEER_TLS_ROOTCERT_FILE=/tmp/hyperledger/org1/peer1/assets/tls-msp/tlscacerts/tls-0-0-0-0-7052.pem
    26        - CORE_PEER_GOSSIP_USELEADERELECTION=true
    27        - CORE_PEER_GOSSIP_ORGLEADER=false
    28        - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org1.example.com:7051
    29        - CORE_PEER_GOSSIP_SKIPHANDSHAKE=true
    30      working_dir: /opt/gopath/src/github.com/hyperledger/fabric/org1/peer1
    31      volumes:
    32        - /var/run:/host/var/run
    33        - /home/simran/go/src/github.com/hyperledger/fabric-ca/tmp2/hyperledger/org1:/tmp/hyperledger/org1/
    34      ports:
    35        - 7051:7051
    36      networks:
    37        - bymn