Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/9edba57a232727413e41472985f4ef873125bf4d?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
19 additions and
0 deletions
@ -65,6 +65,7 @@ get_latest_release() {
DOCKER_LATEST_VERSION = $( get_latest_release "moby/moby" )
DOCKER_LATEST_VERSION = $( get_latest_release "moby/moby" )
PORTAINER_LATEST_VERSION = $( get_latest_release "portainer/portainer" )
PORTAINER_LATEST_VERSION = $( get_latest_release "portainer/portainer" )
DOCKER_COMPOSE_LATEST_VERSION = $( get_latest_release "docker/compose" )
echo -en " ${ GN } Installing Docker $DOCKER_LATEST_VERSION ... "
echo -en " ${ GN } Installing Docker $DOCKER_LATEST_VERSION ... "
DOCKER_CONFIG_PATH = '/etc/docker/daemon.json'
DOCKER_CONFIG_PATH = '/etc/docker/daemon.json'
@ -99,6 +100,24 @@ docker run -d \
echo -e " ${ CM } ${ CL } \r "
echo -e " ${ CM } ${ CL } \r "
fi
fi
read -r -p "Would you like to add Docker Compose? <Y/n> " prompt
if [ [ $prompt = = "y" || $prompt = = "Y" || $prompt = = "yes" || $prompt = = "Yes" ] ]
then
DOCKER_COMPOSE = "Y"
else
DOCKER_COMPOSE = "N"
fi
if [ [ $DOCKER_COMPOSE = = "Y" ] ] ; then
echo -en " ${ GN } Installing Docker Compose $DOCKER_COMPOSE_LATEST_VERSION ... "
DOCKER_CONFIG = ${ DOCKER_CONFIG :- $HOME /.docker }
mkdir -p $DOCKER_CONFIG /cli-plugins
curl -sSL https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_LATEST_VERSION /docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG /cli-plugins/docker-compose
docker compose version
echo -e " ${ CM } ${ CL } \r "
fi
PASS = $( grep -w "root" /etc/shadow | cut -b6) ;
PASS = $( grep -w "root" /etc/shadow | cut -b6) ;
if [ [ $PASS != $ ] ] ; then
if [ [ $PASS != $ ] ] ; then
echo -en " ${ GN } Customizing Container... "
echo -en " ${ GN } Customizing Container... "