diff --git a/hyperledger/pbft/docker-compose-with-membersrvc.yml b/hyperledger/pbft/docker-compose-with-membersrvc.yml index ab139c65..10633cc7 100644 --- a/hyperledger/pbft/docker-compose-with-membersrvc.yml +++ b/hyperledger/pbft/docker-compose-with-membersrvc.yml @@ -1,4 +1,7 @@ -# This compose file will 4 hyperledger peer nodes for testing +# This compose file will 4 hyperledger peer nodes + 1 CA node for testing +# Suggest add a delay to start VP nodes before CA: +# command: sh -c "sleep 5; peer node start" +# # vp0: validating node as root # vp1: validating node as peer # vp2: validating node as peer diff --git a/hyperledger/pbft/peer-pbft.yml b/hyperledger/pbft/peer-pbft.yml index 01ec0c63..31a79886 100644 --- a/hyperledger/pbft/peer-pbft.yml +++ b/hyperledger/pbft/peer-pbft.yml @@ -27,3 +27,4 @@ vp: 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 +# command: sh -c "sleep 5; peer node start" # user this with CA