github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/bddtests/docker-compose-next-4.yml (about)

     1  version: "2"
     2  
     3  services:
     4  
     5    orderer0:
     6      extends:
     7        file: docker-compose-orderer-solo.yml
     8        service: orderer0
     9      environment:
    10        - ORDERER_GENERAL_LOCALMSPDIR=${ORDERER0_ORDERER_GENERAL_LOCALMSPDIR}
    11        - ORDERER_GENERAL_LOCALMSPID=${ORDERER0_ORDERER_GENERAL_LOCALMSPID}
    12        - ORDERER_GENERAL_TLS_ENABLED=true
    13        - ORDERER_GENERAL_TLS_PRIVATEKEY=${ORDERER0_ORDERER_GENERAL_TLS_PRIVATEKEY}
    14        - ORDERER_GENERAL_TLS_CERTIFICATE=${ORDERER0_ORDERER_GENERAL_TLS_CERTIFICATE}
    15        - ORDERER_GENERAL_TLS_ROOTCAS=${ORDERER0_ORDERER_GENERAL_TLS_ROOTCAS}
    16  
    17  
    18    peer0:
    19      extends:
    20        file: docker-compose-next.yml
    21        service: vpNext
    22      environment:
    23        - CORE_PEER_ID=vp0
    24        - CORE_PEER_GOSSIP_BOOTSTRAP=peer1:7051
    25        - CORE_PEER_PROFILE_ENABLED=true
    26        - CORE_PEER_COMMITTER_LEDGER_ORDERER=orderer0:7050
    27        - CORE_PEER_MSPCONFIGPATH=${PEER0_CORE_PEER_MSPCONFIGPATH}
    28        - CORE_PEER_LOCALMSPID=${PEER0_CORE_PEER_LOCALMSPID}
    29        - CORE_PEER_TLS_CERT_FILE=${PEER0_CORE_PEER_TLS_CERT_FILE}
    30        - CORE_PEER_TLS_KEY_FILE=${PEER0_CORE_PEER_TLS_KEY_FILE}
    31        - CORE_PEER_TLS_ROOTCERT_FILE=${PEER0_CORE_PEER_TLS_ROOTCERT_FILE}
    32        - CORE_PEER_TLS_SERVERHOSTOVERRIDE=${PEER0_CORE_PEER_TLS_SERVERHOSTOVERRIDE}
    33      depends_on:
    34        - orderer0
    35      # ports:
    36      #   - 7050:6060
    37  
    38  
    39    peer1:
    40      extends:
    41        file: docker-compose-next.yml
    42        service: vpNext
    43      environment:
    44        - CORE_PEER_ID=vp1
    45        - CORE_PEER_GOSSIP_BOOTSTRAP=peer0:7051
    46        - CORE_PEER_COMMITTER_LEDGER_ORDERER=orderer0:7050
    47        - CORE_PEER_MSPCONFIGPATH=${PEER1_CORE_PEER_MSPCONFIGPATH}
    48        - CORE_PEER_LOCALMSPID=${PEER1_CORE_PEER_LOCALMSPID}
    49        - CORE_PEER_TLS_CERT_FILE=${PEER1_CORE_PEER_TLS_CERT_FILE}
    50        - CORE_PEER_TLS_KEY_FILE=${PEER1_CORE_PEER_TLS_KEY_FILE}
    51        - CORE_PEER_TLS_ROOTCERT_FILE=${PEER1_CORE_PEER_TLS_ROOTCERT_FILE}
    52        - CORE_PEER_TLS_SERVERHOSTOVERRIDE=${PEER1_CORE_PEER_TLS_SERVERHOSTOVERRIDE}
    53      depends_on:
    54        - orderer0
    55        - peer0
    56  
    57    peer2:
    58      extends:
    59        file: docker-compose-next.yml
    60        service: vpNext
    61      environment:
    62        - CORE_PEER_ID=vp2
    63        - CORE_PEER_GOSSIP_BOOTSTRAP=peer3:7051
    64        - CORE_PEER_COMMITTER_LEDGER_ORDERER=orderer0:7050
    65        - CORE_PEER_MSPCONFIGPATH=${PEER2_CORE_PEER_MSPCONFIGPATH}
    66        - CORE_PEER_LOCALMSPID=${PEER2_CORE_PEER_LOCALMSPID}
    67        - CORE_PEER_TLS_CERT_FILE=${PEER2_CORE_PEER_TLS_CERT_FILE}
    68        - CORE_PEER_TLS_KEY_FILE=${PEER2_CORE_PEER_TLS_KEY_FILE}
    69        - CORE_PEER_TLS_ROOTCERT_FILE=${PEER2_CORE_PEER_TLS_ROOTCERT_FILE}
    70        - CORE_PEER_TLS_SERVERHOSTOVERRIDE=${PEER2_CORE_PEER_TLS_SERVERHOSTOVERRIDE}
    71      depends_on:
    72        - orderer0
    73        - peer0
    74  
    75    peer3:
    76      extends:
    77        file: docker-compose-next.yml
    78        service: vpNext
    79      environment:
    80        - CORE_PEER_ID=vp3
    81        - CORE_PEER_GOSSIP_BOOTSTRAP=peer2:7051
    82        - CORE_PEER_COMMITTER_LEDGER_ORDERER=orderer0:7050
    83        - CORE_PEER_MSPCONFIGPATH=${PEER3_CORE_PEER_MSPCONFIGPATH}
    84        - CORE_PEER_LOCALMSPID=${PEER3_CORE_PEER_LOCALMSPID}
    85        - CORE_PEER_TLS_CERT_FILE=${PEER3_CORE_PEER_TLS_CERT_FILE}
    86        - CORE_PEER_TLS_KEY_FILE=${PEER3_CORE_PEER_TLS_KEY_FILE}
    87        - CORE_PEER_TLS_ROOTCERT_FILE=${PEER3_CORE_PEER_TLS_ROOTCERT_FILE}
    88        - CORE_PEER_TLS_SERVERHOSTOVERRIDE=${PEER3_CORE_PEER_TLS_SERVERHOSTOVERRIDE}
    89      depends_on:
    90        - orderer0
    91        - peer0