mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-11-13 22:22:43 +00:00
29 lines
996 B
Docker
29 lines
996 B
Docker
###############################################
|
|
# Ubuntu with added Teamspeak 3 Server.
|
|
# Uses SQLite Database on default.
|
|
###############################################
|
|
|
|
# Using latest Ubuntu image as base
|
|
FROM ubuntu
|
|
|
|
MAINTAINER Alex
|
|
|
|
## Set some variables for override.
|
|
# Download Link of TS3 Server
|
|
ENV TEAMSPEAK_URL http://dl.4players.de/ts/releases/3.0.10.3/teamspeak3-server_linux-amd64-3.0.10.3.tar.gz
|
|
|
|
# Inject a Volume for any TS3-Data that needs to be persisted or to be accessible from the host. (e.g. for Backups)
|
|
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.0.10.3.tar.gz
|
|
|
|
ADD /scripts/ /opt/scripts/
|
|
RUN chmod -R 774 /opt/scripts/
|
|
|
|
ENTRYPOINT ["/opt/scripts/docker-ts3.sh"]
|
|
#CMD ["-w", "/teamspeak3/query_ip_whitelist.txt", "-b", "/teamspeak3/query_ip_blacklist.txt", "-o", "/teamspeak3/logs/", "-l", "/teamspeak3/"]
|
|
|
|
# Expose the Standard TS3 port.
|
|
EXPOSE 9987/udp
|