fix to work with latest image

pull/1/head
Baohua Yang 2016-04-21 15:18:30 +08:00
parent 2bc76e5063
commit 2904d25acd
2 changed files with 18 additions and 7 deletions

View File

@ -14,20 +14,15 @@ vp:
- CORE_PEER_NETWORKID=dev - CORE_PEER_NETWORKID=dev
- CORE_LOGGING_LEVEL=debug #critical, error, warning, notice, info, debug - CORE_LOGGING_LEVEL=debug #critical, error, warning, notice, info, debug
# The following section enables bpft consensus # The following section enables bpft consensus
- CORE_PEER_VALIDATOR_CONSENSUS=obcpbft # noops, obcpbft, pbft - CORE_PEER_VALIDATOR_CONSENSUS=pbft # noops, obcpbft, pbft
- CORE_PBFT_GENERAL_MODE=classic # batch, classic, sieve - CORE_PBFT_GENERAL_MODE=classic # batch, classic, sieve
- CORE_PBFT_GENERAL_N=4 - CORE_PBFT_GENERAL_N=4
- CORE_PBFT_GENERAL_TIMEOUT_REQUEST=10s - CORE_PBFT_GENERAL_TIMEOUT_REQUEST=10s
# The following section enable member authentication, set follow to True
- CORE_SECURITY_ENABLED=false
- CORE_PEER_PKI_ECA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TCA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:50051
expose: expose:
- "30303" - "30303"
- "30304" - "30304"
- "31315" - "31315"
volumes: # docker.sock is mapped as the default CORE_VM_ENDPOINT volumes: # docker.sock is mapped as the default CORE_VM_ENDPOINT
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
command: fabric peer command: peer peer

View File

@ -13,8 +13,12 @@ vp0:
hostname: vp0 hostname: vp0
environment: environment:
- CORE_PEER_ID=vp0 - CORE_PEER_ID=vp0
- CORE_SECURITY_ENABLED=true
- CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLID=test_vp0
- CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT
- CORE_PEER_PKI_ECA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TCA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:50051
links: links:
- membersrvc - membersrvc
@ -25,9 +29,13 @@ vp1:
hostname: vp1 hostname: vp1
environment: environment:
- CORE_PEER_ID=vp1 - CORE_PEER_ID=vp1
- CORE_SECURITY_ENABLED=true
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
- CORE_SECURITY_ENROLLID=test_vp1 - CORE_SECURITY_ENROLLID=test_vp1
- CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy - CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy
- CORE_PEER_PKI_ECA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TCA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:50051
links: links:
- membersrvc - membersrvc
- vp0 - vp0
@ -39,9 +47,13 @@ vp2:
hostname: vp2 hostname: vp2
environment: environment:
- CORE_PEER_ID=vp2 - CORE_PEER_ID=vp2
- CORE_SECURITY_ENABLED=true
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
- CORE_SECURITY_ENROLLID=test_vp2 - CORE_SECURITY_ENROLLID=test_vp2
- CORE_SECURITY_ENROLLSECRET=vQelbRvja7cJ - CORE_SECURITY_ENROLLSECRET=vQelbRvja7cJ
- CORE_PEER_PKI_ECA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TCA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:50051
links: links:
- membersrvc - membersrvc
- vp0 - vp0
@ -57,9 +69,13 @@ vp3:
hostname: vp3 hostname: vp3
environment: environment:
- CORE_PEER_ID=vp3 - CORE_PEER_ID=vp3
- CORE_SECURITY_ENABLED=true
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
- CORE_SECURITY_ENROLLID=test_vp3 - CORE_SECURITY_ENROLLID=test_vp3
- CORE_SECURITY_ENROLLSECRET=9LKqKH5peurL - CORE_SECURITY_ENROLLSECRET=9LKqKH5peurL
- CORE_PEER_PKI_ECA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TCA_PADDR=membersrvc:50051
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:50051
links: links:
- membersrvc - membersrvc
- vp0 - vp0