#!/bin/bash docker-compose up -d echo "Wait for 10 seconds to initialize dirs" sleep 10 docker-compose down echo "use command 'docker-compose up' to start!" #export CURDIR=`pwd`/data # #docker run -p 21030-21033:21030-21033 -p 2641:2641 -p 2041:2041 -v $CURDIR/BDWareProjectDir:/bdcontract/BDWareProjectDir \ # -v $CURDIR/ContractDB:/bdcontract/ContractDB \ # -v $CURDIR/ContractManagerDB:/bdcontract/ContractManagerDB \ # -v $CURDIR/cmconfig.json:/bdcontract/cmconfig.json \ # -v $CURDIR/log:/bdcontract/log \ # -v $CURDIR/manager.key:/bdcontract/manager.key: \ # bdware/bdcontract:1.7.9 # -v $CURDIR/cp:/bdcontract/cp: \ # -v $CURDIR/keys:/bdcontract/keys: \