From d0406abe9a9eb83dedae66a550557acde1a1865a Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 5 Jan 2021 18:34:07 +0200 Subject: [PATCH] add project --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 08820be..8341f7b 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -75,6 +75,13 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" Wdir=$(pwd) +cat << EOF > $Wdir/.env +REGISTRY_ADDR=localhost +REGISTRY_PORT=5000 +IMAGE_NAME=$HYBRID_NETWORK +SSH_PORT= +EOF + . $Wdir/.env create_dockerfile ()