(simatec) Beta v0.9.1
This commit is contained in:
parent
eb50915835
commit
aa3549059e
4 changed files with 32 additions and 18 deletions
|
@ -145,6 +145,10 @@ To leave the container on the console you have to execute 2x `exit`.
|
|||
|
||||
## Changelog
|
||||
|
||||
### 0.9.1 (23.01.2023)
|
||||
* (simatec) Piler Docker Hub added
|
||||
* (simatec) Fix Automatic Import
|
||||
|
||||
### 0.9.0 (23.01.2023)
|
||||
* (simatec) Piler Build added
|
||||
* (simatec) Piler Import Option added
|
||||
|
|
|
@ -12,10 +12,10 @@ chmod a+x start.sh
|
|||
. ./build.conf
|
||||
|
||||
# set Piler Version
|
||||
sed -i 's/PILER_VERSION=.*/PILER_VERSION="'$PILER_VERSION'"/g' ../piler.conf
|
||||
#sed -i 's/PILER_VERSION=.*/PILER_VERSION="'$PILER_VERSION'"/g' ../piler.conf
|
||||
|
||||
# set Maria-DB Version
|
||||
sed -i 's/MARIA_DB_VERSION=.*/MARIA_DB_VERSION="'$MARIA_DB_VERSION'"/g' ../piler.conf
|
||||
#sed -i 's/MARIA_DB_VERSION=.*/MARIA_DB_VERSION="'$MARIA_DB_VERSION'"/g' ../piler.conf
|
||||
|
||||
|
||||
# Package Download
|
||||
|
|
|
@ -287,10 +287,10 @@ if [ ! -f $installPth/.env ]; then
|
|||
fi
|
||||
|
||||
# Build Piler
|
||||
cd $buildPth
|
||||
echo echo "${greenBold}Start Piler-Build...${normal}" && \
|
||||
bash build.sh && \
|
||||
echo "${greenBold}Piler-Build finish${normal}"
|
||||
#cd $buildPth
|
||||
#echo "${greenBold}Start Piler-Build...${normal}" && \
|
||||
#bash build.sh && \
|
||||
#echo "${greenBold}Piler-Build finish${normal}"
|
||||
|
||||
if [ -f $installPth/docker-compose.yml ]; then
|
||||
rm $installPth/docker-compose.yml
|
||||
|
@ -428,6 +428,8 @@ cat >> $etcPth/config-site.php <<EOF
|
|||
EOF
|
||||
|
||||
if [ "$AUTO_IMPORT" = true ]; then
|
||||
chown root:crontab $cronPth/piler
|
||||
|
||||
cat >> $cronPth/piler <<EOF
|
||||
### Piler import added by Piler-Installer
|
||||
*/5 * * * * /usr/libexec/piler/import.sh
|
||||
|
@ -488,7 +490,6 @@ else
|
|||
docker-compose restart piler
|
||||
fi
|
||||
|
||||
|
||||
echo
|
||||
echo "${greenBold}${HLINE}"
|
||||
echo "${greenBold} Piler install completed successfully"
|
||||
|
|
31
update.sh
31
update.sh
|
@ -110,13 +110,6 @@ configPth="$installPth/config"
|
|||
etcPth="/var/lib/docker/volumes/piler-docker_piler_etc/_data"
|
||||
buildPth="$installPth/build"
|
||||
|
||||
# config load
|
||||
. ./piler.conf
|
||||
|
||||
if [ ! -f $installPth/.env ]; then
|
||||
ln -s ./piler.conf .env
|
||||
fi
|
||||
|
||||
if [ -f $installPth/docker-compose.yml ]; then
|
||||
rm $installPth/docker-compose.yml
|
||||
fi
|
||||
|
@ -156,6 +149,22 @@ for buildUpdate in start.sh build.sh Dockerfile build.conf; do
|
|||
echo
|
||||
done
|
||||
|
||||
# build config load
|
||||
. .$buildPth/build.conf
|
||||
|
||||
# set Piler Version
|
||||
sed -i 's/PILER_VERSION=.*/PILER_VERSION="'$PILER_VERSION'"/g' ./piler.conf
|
||||
|
||||
# set Maria-DB Version
|
||||
sed -i 's/MARIA_DB_VERSION=.*/MARIA_DB_VERSION="'$MARIA_DB_VERSION'"/g' ./piler.conf
|
||||
|
||||
# config load
|
||||
. ./piler.conf
|
||||
|
||||
if [ ! -f $installPth/.env ]; then
|
||||
ln -s ./piler.conf .env
|
||||
fi
|
||||
|
||||
# old docker stop
|
||||
cd $installPth
|
||||
|
||||
|
@ -181,10 +190,10 @@ if [ ! -f $etcPth/MANTICORE ]; then
|
|||
fi
|
||||
|
||||
# Build Piler
|
||||
cd $buildPth
|
||||
echo "${greenBold}Start Piler-Build...${normal}" && \
|
||||
bash build.sh && \
|
||||
echo "${greenBold}Piler-Build finish${normal}"
|
||||
#cd $buildPth
|
||||
#echo "${greenBold}Start Piler-Build...${normal}" && \
|
||||
#bash build.sh && \
|
||||
#echo "${greenBold}Piler-Build finish${normal}"
|
||||
|
||||
# Copy docker-compose.yml
|
||||
if [ "$USE_LETSENCRYPT" = "yes" ]; then
|
||||
|
|
Loading…
Reference in a new issue