Adds the subnets to the networks setup for docker.
This commit is contained in:
parent
e55f4a31bc
commit
6a27e23f02
11
src/octojoom
11
src/octojoom
@ -2351,7 +2351,6 @@ function showProgress() {
|
|||||||
# some locals
|
# some locals
|
||||||
local title
|
local title
|
||||||
local message
|
local message
|
||||||
local speed
|
|
||||||
local per
|
local per
|
||||||
# get input
|
# get input
|
||||||
message="$1"
|
message="$1"
|
||||||
@ -2925,7 +2924,7 @@ function setMultiDomainSwitch() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# add this value if not set variable
|
# add this value if not set variable
|
||||||
setUniqueEnvVariable "VDM_MULTI_DOMAIN=${VDM_MULTI_DOMAIN}"
|
setEnvVariable "VDM_MULTI_DOMAIN=${VDM_MULTI_DOMAIN}"
|
||||||
# make sure it is available
|
# make sure it is available
|
||||||
export VDM_MULTI_DOMAIN
|
export VDM_MULTI_DOMAIN
|
||||||
}
|
}
|
||||||
@ -2981,7 +2980,7 @@ function setUpdateHostFile() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# add this value since its not set variable
|
# add this value since its not set variable
|
||||||
setUniqueEnvVariable "VDM_UPDATE_HOST=${VDM_UPDATE_HOST}"
|
setEnvVariable "VDM_UPDATE_HOST=${VDM_UPDATE_HOST}"
|
||||||
# make sure it is available
|
# make sure it is available
|
||||||
export VDM_UPDATE_HOST
|
export VDM_UPDATE_HOST
|
||||||
}
|
}
|
||||||
@ -3161,7 +3160,7 @@ function setSecureState() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# add this value if not set variable
|
# add this value if not set variable
|
||||||
setUniqueEnvVariable "VDM_SECURE=${VDM_SECURE}"
|
setEnvVariable "VDM_SECURE=${VDM_SECURE}"
|
||||||
# make sure it is available
|
# make sure it is available
|
||||||
export VDM_SECURE
|
export VDM_SECURE
|
||||||
}
|
}
|
||||||
@ -3170,9 +3169,9 @@ function setSecureState() {
|
|||||||
function setNetworks() {
|
function setNetworks() {
|
||||||
# we create the networks
|
# we create the networks
|
||||||
docker network inspect traefik_webgateway >/dev/null 2>&1 ||
|
docker network inspect traefik_webgateway >/dev/null 2>&1 ||
|
||||||
docker network create traefik_webgateway
|
docker network create traefik_webgateway --subnet 172.22.0.0/24
|
||||||
docker network inspect openssh_gateway >/dev/null 2>&1 ||
|
docker network inspect openssh_gateway >/dev/null 2>&1 ||
|
||||||
docker network create openssh_gateway
|
docker network create openssh_gateway --subnet 172.23.0.0/24
|
||||||
}
|
}
|
||||||
|
|
||||||
# to set a global Env Variable
|
# to set a global Env Variable
|
||||||
|
Loading…
Reference in New Issue
Block a user