Update script.sh

This commit is contained in:
Wayne Connolly
2018-07-01 00:09:47 +10:00
committed by GitHub
parent c88e84998e
commit de3daa1aaf
+6 -6
View File
@@ -1,12 +1,12 @@
#!/bin/sh
find / -name docker-compose.yml
echo "pwd" && pwd
echo "ls" && ls /
echo "ls rancher" && ls /rancher/
cd /rancher && ls .
DOCKER_COMPOSE=`find / -name docker-compose.yml`
RANCHER_COMPOSE=`find / -name rancher-compose.yml`
cat ${DOCKER_COMPOSE}
cat ${RANCHER_COMPOSE}
echo "ls rancher" && ls rancher/
/bin/rancher-compose \
--url http://${PLUGIN_URL}/v1 \
--access-key ${PLUGIN_ACCESSKEY} \
--secret-key ${PLUGIN_SECRETKEY} \
-f /rancher/${PLUGIN_PATH}/docker-compose.yml -r /rancher/${PLUGIN_PATH}/rancher-compose.yml \
-f ${DOCKER_COMPOSE} -r ${RANCHER_COMPOSE} \
--verbose -p ${PLUGIN_STACK} up -p -d --force-upgrade --confirm-upgrade