Public | Automated Build

Last pushed: 4 months ago
Short Description
TeamSspeak 3 Server container. You can easily use your existent configuration and dockerize it.
Full Description

docker-teamspeak3

This docker image provides a TeamSpeak3 server that will automatically download the latest stable version at startup. You can also run/upgrade to any other specific version. See the Versions section below for more information.

Usage

To simply use the latest stable version, run

docker run --name TS3 -d -p 9987:9987/udp -p 10011:10011 -p 30033:30033 socketz/ts3-server

where the default server ports will be exposed on your host machine. If you want to serve up multiple TeamSpeak3 servers or just use an alternate port, change the host-side port mapping such as

docker run --name TS3_x -d -p 9988:9987/udp -p 10012:10011 -p 30034:30033 socketz/ts3-server

will serve your TeamSpeak3 server on your host's port 9988/udp, 10012/tcp, 30033/tcp since the -p syntax is host-port:container-port.

Speaking of multiple servers, it's handy to give your containers ecplicit names using --name as seen above.

If there is no ts3server.ini present in the data directory, the server will be started with createinifile=1. Subsequent runs will start with inifile=/data/ts3server.ini.

First Run

If you are starting the server for the first time, you need the Admin-Token:

docker run --name TS3 -d -p 9987:9987/udp -p 10011:10011 -p 30033:30033 socketz/ts3-server
docker logs -f TS3

There are two important sections in the logfiles:

------------------------------------------------------------------
                      I M P O R T A N T                           
------------------------------------------------------------------
               Server Query Admin Account created                 
         loginname= "serveradmin", password= "qyF2d07R"
------------------------------------------------------------------

and:

------------------------------------------------------------------
                      I M P O R T A N T                           
------------------------------------------------------------------
      ServerAdmin privilege key created, please use it to gain 
      serveradmin rights for your virtualserver. please
      also check the doc/privilegekey_guide.txt for details.

       token=P5fO1Cbbv5DbM5kg9xR3LlfpYjlJe6cT9QeMhjY+
------------------------------------------------------------------

COPY THEM FOR LATER USE!

Use your current data and dockerize it!

Clone this repository and copy your current ts3server.sqlitedb* files and files folder to data directory.

Example:

git clone https://bitbucket.org/socketz/ts3-docker.git
cd ts3-docker
cp <current_data_path>/*.sqlitedb* ./data/
./build && ./init_ts3.sh

Versions

To use a different TeamSpeak3 version, pass the TS_VERSION environment variable, which can have the value

  • LATEST
  • (or a specific version, such as "3.0.10.2")

For example, to use a specific version:

docker run -d -e TS_VERSION=3.0.10.2 ... --name=TS3 ...

Note: a list of valid versions is available here or you may use ts3version@github by your self.

This repository was forked and improved from: https://github.com/andreasheil/docker-teamspeak3

Docker Pull Command
Owner
socketz
Source Repository

Comments (0)