Update with last service port
parent
46c89f380e
commit
5203474de1
|
@ -7,8 +7,8 @@
|
|||
|
||||
# validating node as the root
|
||||
# vp0 will also be used for client interactive operations
|
||||
# If you want to run fabric command on the host, then map 30303:30303 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:30303` to specify peer addr.
|
||||
# If you want to run fabric command on the host, then map 7051:7051 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:7051` to specify peer addr.
|
||||
vp0:
|
||||
extends:
|
||||
file: peer-noops.yml
|
||||
|
@ -17,6 +17,6 @@ vp0:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp0
|
||||
ports:
|
||||
- "5000:5000"
|
||||
#- "30303:30303"
|
||||
- "7050:7050"
|
||||
#- "7051:7051"
|
||||
|
||||
|
|
|
@ -9,15 +9,15 @@ membersrvc:
|
|||
image: yeasy/hyperledger-membersrvc:latest
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- "50051"
|
||||
- "7054"
|
||||
volumes: # docker.sock is mapped as the default CORE_VM_ENDPOINT
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: membersrvc # this repeats the default cmd to make sure
|
||||
|
||||
# validating node as the root
|
||||
# vp0 will also be used for client interactive operations
|
||||
# If you want to run fabric command on the host, then map 30303:30303 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:30303` to specify peer addr.
|
||||
# If you want to run fabric command on the host, then map 7051:7051 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:7051` to specify peer addr.
|
||||
vp0:
|
||||
extends:
|
||||
file: peer-noops.yml
|
||||
|
@ -28,12 +28,12 @@ vp0:
|
|||
- CORE_SECURITY_ENABLED=true
|
||||
- CORE_SECURITY_ENROLLID=test_vp0
|
||||
- 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
|
||||
- CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
|
||||
ports:
|
||||
- "5000:5000"
|
||||
#- "30303:30303"
|
||||
- "7050:7050"
|
||||
#- "7051:7051"
|
||||
links:
|
||||
- membersrvc
|
||||
|
||||
|
@ -45,12 +45,12 @@ vp1:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp1
|
||||
- CORE_SECURITY_ENABLED=true
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
- CORE_SECURITY_ENROLLID=test_vp1
|
||||
- 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
|
||||
- CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
|
||||
links:
|
||||
- membersrvc
|
||||
- vp0
|
||||
|
@ -63,12 +63,12 @@ vp2:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp2
|
||||
- CORE_SECURITY_ENABLED=true
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
- CORE_SECURITY_ENROLLID=test_vp2
|
||||
- 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
|
||||
- CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
|
||||
links:
|
||||
- membersrvc
|
||||
- vp0
|
||||
|
@ -81,14 +81,12 @@ vp3:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp3
|
||||
- CORE_SECURITY_ENABLED=true
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
- CORE_SECURITY_ENROLLID=test_vp3
|
||||
- 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
|
||||
- CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
|
||||
links:
|
||||
- membersrvc
|
||||
- vp0
|
||||
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
# validating node as the root
|
||||
# vp0 will also be used for client interactive operations
|
||||
# If you want to run fabric command on the host, then map 30303:30303 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:30303` to specify peer addr.
|
||||
# If you want to run fabric command on the host, then map 7051:7051 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:7051` to specify peer addr.
|
||||
vp0:
|
||||
extends:
|
||||
file: peer-noops.yml
|
||||
|
@ -17,8 +17,8 @@ vp0:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp0
|
||||
ports:
|
||||
- "5000:5000"
|
||||
#- "30303:30303"
|
||||
- "7050:7050"
|
||||
#- "7051:7051"
|
||||
|
||||
# validating node
|
||||
vp1:
|
||||
|
@ -28,7 +28,7 @@ vp1:
|
|||
hostname: vp1
|
||||
environment:
|
||||
- CORE_PEER_ID=vp1
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
links:
|
||||
- vp0
|
||||
|
||||
|
@ -40,7 +40,7 @@ vp2:
|
|||
hostname: vp2
|
||||
environment:
|
||||
- CORE_PEER_ID=vp2
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
links:
|
||||
- vp0
|
||||
|
||||
|
@ -53,6 +53,6 @@ vp3:
|
|||
hostname: vp3
|
||||
environment:
|
||||
- CORE_PEER_ID=vp3
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
links:
|
||||
- vp0
|
||||
|
|
|
@ -16,12 +16,12 @@ vp0:
|
|||
- CORE_SECURITY_ENABLED=true
|
||||
- CORE_SECURITY_ENROLLID=test_vp0
|
||||
- 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
|
||||
- CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
|
||||
ports:
|
||||
- "5000:5000"
|
||||
#- "30303:30303"
|
||||
- "7050:7050"
|
||||
#- "7051:7051"
|
||||
links:
|
||||
- membersrvc
|
||||
|
||||
|
@ -33,12 +33,12 @@ vp1:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp1
|
||||
- CORE_SECURITY_ENABLED=true
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
- CORE_SECURITY_ENROLLID=test_vp1
|
||||
- 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
|
||||
- CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
|
||||
links:
|
||||
- membersrvc
|
||||
- vp0
|
||||
|
@ -51,20 +51,20 @@ vp2:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp2
|
||||
- CORE_SECURITY_ENABLED=true
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
- CORE_SECURITY_ENROLLID=test_vp2
|
||||
- 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
|
||||
- CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
|
||||
links:
|
||||
- membersrvc
|
||||
- vp0
|
||||
|
||||
|
||||
# vp3 will be used for client interactive operations
|
||||
# If you want to run fabric command on the host, then map 30303:30303 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:30303` to specify peer addr.
|
||||
# If you want to run fabric command on the host, then map 7051:7051 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:7051` to specify peer addr.
|
||||
vp3:
|
||||
extends:
|
||||
file: peer-pbft.yml
|
||||
|
@ -73,12 +73,12 @@ vp3:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp3
|
||||
- CORE_SECURITY_ENABLED=true
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
- CORE_SECURITY_ENROLLID=test_vp3
|
||||
- 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
|
||||
- CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
|
||||
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
|
||||
links:
|
||||
- membersrvc
|
||||
- vp0
|
||||
|
@ -87,8 +87,7 @@ membersrvc:
|
|||
image: yeasy/hyperledger-membersrvc:latest
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- "50051"
|
||||
- "7054"
|
||||
volumes: # docker.sock is mapped as the default CORE_VM_ENDPOINT
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: membersrvc # this repeats the default cmd to make sure
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ vp0:
|
|||
environment:
|
||||
- CORE_PEER_ID=vp0
|
||||
ports:
|
||||
- "5000:5000"
|
||||
#- "30303:30303"
|
||||
- "7050:7050"
|
||||
#- "7051:7051"
|
||||
|
||||
# validating node
|
||||
vp1:
|
||||
|
@ -25,7 +25,7 @@ vp1:
|
|||
hostname: vp1
|
||||
environment:
|
||||
- CORE_PEER_ID=vp1
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
links:
|
||||
- vp0
|
||||
|
||||
|
@ -37,15 +37,15 @@ vp2:
|
|||
hostname: vp2
|
||||
environment:
|
||||
- CORE_PEER_ID=vp2
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
links:
|
||||
- vp0
|
||||
|
||||
|
||||
# validating node
|
||||
# vp3 will also be used for client interactive operations
|
||||
# If you want to run fabric command on the host, then map 30303:30303 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:30303` to specify peer addr.
|
||||
# If you want to run fabric command on the host, then map 7051:7051 to host
|
||||
# port, or use like `CORE_PEER_ADDRESS=172.17.0.2:7051` to specify peer addr.
|
||||
vp3:
|
||||
extends:
|
||||
file: peer-pbft.yml
|
||||
|
@ -53,6 +53,6 @@ vp3:
|
|||
hostname: vp3
|
||||
environment:
|
||||
- CORE_PEER_ID=vp3
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303
|
||||
- CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
|
||||
links:
|
||||
- vp0
|
||||
|
|
|
@ -21,10 +21,9 @@ vp:
|
|||
- CORE_PBFT_GENERAL_BATCHSIZE=2 # only useful when in batch mode
|
||||
- CORE_PBFT_GENERAL_TIMEOUT_REQUEST=2s
|
||||
expose:
|
||||
- "30303"
|
||||
- "30304"
|
||||
- "31315"
|
||||
- "7051"
|
||||
- "7052"
|
||||
- "7053"
|
||||
volumes: # docker.sock is mapped as the default CORE_VM_ENDPOINT
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: peer node start # this repeats the default cmd to make sure
|
||||
|
||||
|
|
Loading…
Reference in New Issue