diff --git a/bin/docker-init.sh b/bin/docker-init.sh index 170dabbf..7c72713c 100755 --- a/bin/docker-init.sh +++ b/bin/docker-init.sh @@ -4,9 +4,15 @@ if [ "${CRAWLAB_NODE_MASTER}" = "Y" ]; then # start master /bin/bash /app/bin/docker-start-master.sh + # env + export IS_MASTER=1 + # start crawlab crawlab-server master else + # env + export IS_MASTER=0 + # start crawlab crawlab-server worker fi