This commit is contained in:
2023-11-09 08:17:13 -08:00
parent ba09f0be95
commit 785022a671
7 changed files with 26 additions and 14 deletions

2
debian/Dockerfile vendored
View File

@@ -2,7 +2,7 @@ FROM fithwum/debian-base:bullseye
LABEL maintainer "fithwum"
# URL's for files
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/teamspeak-server/master/debian/files/Install_Script.sh
ARG INSTALL_SCRIPT=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/debian/files/Install_Script.sh
# Install dependencies and folder creation
RUN apt-get -y update && apt-get clean \

View File

@@ -3,6 +3,7 @@
# All rights reserved
# Variables.
TS_FILES=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/files
echo " "
echo "Checking server version from Teamspeak."
wget --no-cache https://www.teamspeak.com/versions/server.json -O /ts3temp/server.json
@@ -44,7 +45,7 @@ if [ -e /ts3server/ts3server_minimal_runscript.sh ]
else
echo " "
echo "WARNING ! ts3server_minimal_runscript.sh not found ... will download now."
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3server_minimal_runscript.sh -O /ts3temp/inifiles/ts3server_minimal_runscript.sh
wget --no-cache ${TS_FILES}/ts3server_minimal_runscript.sh -O /ts3temp/inifiles/ts3server_minimal_runscript.sh
cp /ts3temp/inifiles/ts3server_minimal_runscript.sh /ts3server/
rm -fr /ts3temp/ts3server_minimal_runscript.sh
fi
@@ -54,7 +55,7 @@ if [ -e /ts3server/ts3db_mariadb.ini ]
else
echo " "
echo "WARNING ! ts3db_mariadb.ini not found ... will download now."
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3db_mariadb.ini -O /ts3temp/inifiles/ts3db_mariadb.ini
wget --no-cache ${TS_FILES}/ts3db_mariadb.ini -O /ts3temp/inifiles/ts3db_mariadb.ini
cp /ts3temp/inifiles/ts3db_mariadb.ini /ts3server/
rm -fr /ts3temp/inifiles/ts3db_mariadb.ini
fi
@@ -64,7 +65,7 @@ if [ -e /ts3server/ts3server.ini ]
else
echo " "
echo "WARNING ! ts3server.ini not found ... will download now."
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/ts3server.ini -O /ts3temp/inifiles/ts3server.ini
wget --no-cache ${TS_FILES}/ts3server.ini -O /ts3temp/inifiles/ts3server.ini
cp /ts3temp/inifiles/ts3server.ini /ts3server/
rm -fr /ts3temp/inifiles/ts3server.ini
fi
@@ -74,7 +75,7 @@ if [ -e /ts3server/.ts3server_license_accepted ]
else
echo " "
echo "WARNING ! .ts3server_license_accepted not found ... will download now."
wget --no-cache https://raw.githubusercontent.com/fithwum/teamspeak-server/master/files/.ts3server_license_accepted -O /ts3temp/.ts3server_license_accepted
wget --no-cache ${TS_FILES}/.ts3server_license_accepted -O /ts3temp/.ts3server_license_accepted
cp /ts3temp/.ts3server_license_accepted /ts3server/
rm -fr /ts3temp/.ts3server_license_accepted
fi