Merge pull request #3 from saintdev/master

Various fixes
This commit is contained in:
Knut Ahlers 2015-09-21 11:18:51 +02:00
commit 76c5f67c18
2 changed files with 5 additions and 2 deletions

View file

@ -17,11 +17,14 @@ VOLUME ["/teamspeak3"]
# Download TS3 file and extract it into /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/
RUN chmod -R 774 /opt/scripts/
# Cleanup
RUN rm -f /opt/teamspeak3-server_linux-amd64-3*.tar.gz
ENTRYPOINT ["/opt/scripts/docker-ts3.sh"]
#CMD ["-w", "/teamspeak3/query_ip_whitelist.txt", "-b", "/teamspeak3/query_ip_blacklist.txt", "-o", "/teamspeak3/logs/", "-l", "/teamspeak3/"]

View file

@ -34,7 +34,7 @@ else
query_ip_whitelist="/teamspeak3/query_ip_whitelist.txt" \
query_ip_backlist="/teamspeak3/query_ip_blacklist.txt" \
logpath="/teamspeak3/logs/" \
licensepath="/teamspeak3/"
licensepath="/teamspeak3/" \
inifile="/teamspeak3/ts3server.ini" \
createinifile=1
fi