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