mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-12-30 03:11:16 +00:00
commit
76c5f67c18
2 changed files with 5 additions and 2 deletions
|
@ -17,11 +17,14 @@ VOLUME ["/teamspeak3"]
|
||||||
|
|
||||||
# Download TS3 file and extract it into /opt.
|
# Download TS3 file and extract it into /opt.
|
||||||
ADD ${TEAMSPEAK_URL} /opt/
|
ADD ${TEAMSPEAK_URL} /opt/
|
||||||
RUN cd /opt && tar -xzf /opt/teamspeak3-server_linux-amd64-3*.tar.gz
|
RUN tar -C /opt -xzf /opt/teamspeak3-server_linux-amd64-3*.tar.gz
|
||||||
|
|
||||||
ADD /scripts/ /opt/scripts/
|
ADD /scripts/ /opt/scripts/
|
||||||
RUN chmod -R 774 /opt/scripts/
|
RUN chmod -R 774 /opt/scripts/
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
RUN rm -f /opt/teamspeak3-server_linux-amd64-3*.tar.gz
|
||||||
|
|
||||||
ENTRYPOINT ["/opt/scripts/docker-ts3.sh"]
|
ENTRYPOINT ["/opt/scripts/docker-ts3.sh"]
|
||||||
#CMD ["-w", "/teamspeak3/query_ip_whitelist.txt", "-b", "/teamspeak3/query_ip_blacklist.txt", "-o", "/teamspeak3/logs/", "-l", "/teamspeak3/"]
|
#CMD ["-w", "/teamspeak3/query_ip_whitelist.txt", "-b", "/teamspeak3/query_ip_blacklist.txt", "-o", "/teamspeak3/logs/", "-l", "/teamspeak3/"]
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ else
|
||||||
query_ip_whitelist="/teamspeak3/query_ip_whitelist.txt" \
|
query_ip_whitelist="/teamspeak3/query_ip_whitelist.txt" \
|
||||||
query_ip_backlist="/teamspeak3/query_ip_blacklist.txt" \
|
query_ip_backlist="/teamspeak3/query_ip_blacklist.txt" \
|
||||||
logpath="/teamspeak3/logs/" \
|
logpath="/teamspeak3/logs/" \
|
||||||
licensepath="/teamspeak3/"
|
licensepath="/teamspeak3/" \
|
||||||
inifile="/teamspeak3/ts3server.ini" \
|
inifile="/teamspeak3/ts3server.ini" \
|
||||||
createinifile=1
|
createinifile=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue