(simatec) Fix Installer
This commit is contained in:
parent
d8cdf12ff7
commit
41608954c1
1 changed files with 14 additions and 8 deletions
|
@ -23,7 +23,9 @@ fi
|
||||||
HLINE="=================================================================="
|
HLINE="=================================================================="
|
||||||
|
|
||||||
. ./piler.conf
|
. ./piler.conf
|
||||||
ln -s ./piler.conf .env
|
if [ ! -f /opt/piler-docker/.env ]; then
|
||||||
|
ln -s ./piler.conf .env
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f /opt/piler-docker/docker-compose.yml ]; then
|
if [ -f /opt/piler-docker/docker-compose.yml ]; then
|
||||||
rm /opt/piler-docker/docker-compose.yml
|
rm /opt/piler-docker/docker-compose.yml
|
||||||
|
@ -47,7 +49,7 @@ done
|
||||||
# docker start
|
# docker start
|
||||||
echo
|
echo
|
||||||
echo "${greenBold}${HLINE}"
|
echo "${greenBold}${HLINE}"
|
||||||
echo "${greenBold}start docker-compose for Piler"
|
echo "${greenBold} start docker-compose for Piler"
|
||||||
echo "${greenBold}${HLINE}${normal}"
|
echo "${greenBold}${HLINE}${normal}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
@ -59,7 +61,7 @@ if [ "$USE_LETSENCRYPT" = "yes" ]; then
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "${blue}${HLINE}"
|
echo "${blue}${HLINE}"
|
||||||
echo "${blue}docker network created"
|
echo "${blue} docker network created"
|
||||||
echo "${blue}${HLINE}${normal}"
|
echo "${blue}${HLINE}${normal}"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
@ -69,7 +71,7 @@ docker-compose up -d
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "${blue}${HLINE}"
|
echo "${blue}${HLINE}"
|
||||||
echo "${blue}backup the File config-site.php"
|
echo "${blue} backup the File config-site.php"
|
||||||
echo "${blue}${HLINE}${normal}"
|
echo "${blue}${HLINE}${normal}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
@ -82,7 +84,7 @@ fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "${blue}${HLINE}"
|
echo "${blue}${HLINE}"
|
||||||
echo "${blue}set User settings ..."
|
echo "${blue} set User settings ..."
|
||||||
echo "${blue}${HLINE}${normal}"
|
echo "${blue}${HLINE}${normal}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
@ -167,7 +169,7 @@ fi
|
||||||
# docker restart
|
# docker restart
|
||||||
echo
|
echo
|
||||||
echo "${blue}${HLINE}"
|
echo "${blue}${HLINE}"
|
||||||
echo "${blue}restart docker-compose ..."
|
echo "${blue} restart docker-compose ..."
|
||||||
echo "${blue}${HLINE}${normal}"
|
echo "${blue}${HLINE}${normal}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
@ -176,12 +178,16 @@ docker-compose restart
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "${greenBold}${HLINE}"
|
echo "${greenBold}${HLINE}"
|
||||||
echo "${greenBold}Piler install completed successfully"
|
echo "${greenBold} Piler install completed successfully"
|
||||||
|
echo "${greenBold}${HLINE}${normal}"
|
||||||
echo
|
echo
|
||||||
|
echo
|
||||||
|
echo "${greenBold}${HLINE}"
|
||||||
if [ "$USE_LETSENCRYPT" = "yes" ]; then
|
if [ "$USE_LETSENCRYPT" = "yes" ]; then
|
||||||
echo "${greenBold}you can start in your Browser with https://${PILER_DOMAIN}!"
|
echo "${greenBold}you can start in your Browser with https://${PILER_DOMAIN}!"
|
||||||
else
|
else
|
||||||
echo "${greenBold}you can start in your Browser with http://${PILER_DOMAIN} or http://local-ip!"
|
echo "${greenBold}you can start in your Browser with: http://${PILER_DOMAIN} or http://local-ip!"
|
||||||
|
echo "${greenBold}http://${PILER_DOMAIN} or http://local-ip"
|
||||||
fi
|
fi
|
||||||
echo "${greenBold}${HLINE}${normal}"
|
echo "${greenBold}${HLINE}${normal}"
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue