new setup

This commit is contained in:
2022-06-16 13:53:53 -07:00
parent 12db2b2f07
commit 91e47a4e29
9 changed files with 369 additions and 0 deletions

22
debian/Dockerfile vendored Normal file
View File

@@ -0,0 +1,22 @@
FROM fithwum/debian-base:bullseye
# URL's for files
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/teamspeak-server/master/debian/files/Install_Script.sh
# Install dependencies and folder creation
RUN apt-get -y update && apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /ts3server /ts3temp /ts3temp/inifiles /ts3temp/serverfiles \
&& chmod 777 -R /ts3server /ts3temp \
&& chown 99:100 -R /ts3server /ts3temp
ADD "${INSTALL_SCRIPT}" /ts3temp
RUN chmod +x /ts3temp/Install_Script.sh
# directory where data is stored
VOLUME /ts3server
# 9987 default voice, 10011 server query, 30033 file transport
EXPOSE 9987/udp 10011/tcp 30033/tcp
# Run command
CMD [ "/bin/bash", "./ts3temp/Install_Script.sh" ]