zeus 3 years ago
parent
commit
1f4cc49a4b
  1. 7
      run.yml.sh

7
run.yml.sh

@ -25,8 +25,13 @@ if [ "$cwdir" != "$wdir" ]; then
cd $wdir
fi
docker rmi swarmlabadmin > /dev/null 2>&1
docker container rm swarmlabadmin > /dev/null 2>&1
env nodepath=$PWD \
USER_NAME=${USER} \
USER_ID=$(id -u ${USER}) \
GROUP_NAME=$(id -g -n ${USER}) \
GROUP_ID=$(id -g ${USER}) \
docker-compose -f run.yml up -d
#docker-compose -f run.yml up -d > /dev/null 2>&1

Loading…
Cancel
Save