summaryrefslogtreecommitdiff
path: root/java-chaincode/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'java-chaincode/start.sh')
-rwxr-xr-xjava-chaincode/start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/java-chaincode/start.sh b/java-chaincode/start.sh
index fdfb085..c071e52 100755
--- a/java-chaincode/start.sh
+++ b/java-chaincode/start.sh
@@ -1,6 +1,6 @@
export COMPOSE_PROJECT_NAME=java-chaincode
docker-compose -f docker-compose.yaml down
docker-compose -f docker-compose.yaml up -d
-sleep 10
+sleep 15
docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.mydomain.com/msp" peer0.org1.mydomain.com peer channel create -o orderer.mydomain.com:7050 -c mychannel -f /etc/hyperledger/configtx/channel.tx
docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.mydomain.com/msp" peer0.org1.mydomain.com peer channel join -b mychannel.block