TeamSpeak offers the ideal voice communication for gaming, education and training, internal business communication, and staying in touch with friends and family.
CAUTION
TeamSpeak 6 Server is currently in beta. Expect frequent updates and potential instability
TeamSpeak 6 is the next-generation voice communication platform for gaming and communities.
TeamSpeak 6 Server is currently in beta. Expect frequent updates and potential instability
You can use any available ports. The most important defaults are shown below:
Port | Default | Description |
---|---|---|
Voice Port | 9987 | Main voice server port |
File Transfer Port | 30033 | File transfers (Optional/admin) |
Query SSH | 10022 | Server Query SSH interface (Optional/admin) |
Query HTTP | 10080 | Server Query HTTP interface (Optional/admin) |
Query HTTPS | 10443 | Server Query HTTPS interface (Optional/admin) |
/home/container
and enter the filenames in their variables.Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:debian | ghcr.io/ptero-eggs/yolks:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Server Query Admin Password | The password for the server query admin user. | TSSERVER_QUERY_ADMIN_PASSWORD | ChangeMe | Yes | Yes |
Server Version | The version of Teamspeak 3 to use when running the server. | TS_VERSION | latest | Yes | Yes |
Accept TServer License (required) | This is for accepting the license | TSSERVER_LICENSE_ACCEPTED | accept | Yes | No |
File Transfer Port | The Teamspeak file transfer port (can be changed). | TSSERVER_FILE_TRANSFER_PORT | 30033 | Yes | Yes |
Enable SSH Query | Enable the SSH query interface (set to 1 to enable). | TSSERVER_QUERY_SSH_ENABLED | 0 | Yes | Yes |
SSH Query Port | The port for the SSH query interface (can be changed). | TSSERVER_QUERY_SSH_PORT | 10022 | Yes | Yes |
Enable HTTP Query | Enable the HTTP query interface (set to 1 to enable). | TSSERVER_QUERY_HTTP_ENABLED | 0 | Yes | Yes |
HTTP Query Port | The port for the HTTP query interface (can be changed). | TSSERVER_QUERY_HTTP_PORT | 10080 | Yes | Yes |
Enable HTTPS Query | Enable the HTTPS query interface (set to 1 to enable). | TSSERVER_QUERY_HTTPS_ENABLED | 0 | Yes | Yes |
HTTPS Query Port | The port for the HTTPS query interface (can be changed). | TSSERVER_QUERY_HTTPS_PORT | 10443 | Yes | Yes |
Enable S3 File Transfer | Enable S3 file transfer (set to 1 to enable). | TSSERVER_S3FT_ENABLED | 0 | Yes | Yes |
S3 Access Key | S3 Access Key for file transfers. | TSSERVER_S3FT_ACCESS_KEY | Yes | Yes | |
S3 Secret Key | S3 Secret Key for file transfers. | TSSERVER_S3FT_SECRET_KEY | Yes | Yes | |
S3 Bucket | S3 Bucket name for file transfers. | TSSERVER_S3FT_BUCKET | Yes | Yes | |
S3 Domain | S3 Domain/endpoint for file transfers. | TSSERVER_S3FT_DOMAIN | Yes | Yes | |
S3 Region | S3 region for file transfers. | TSSERVER_S3FT_REGION | Yes | Yes | |
HTTPS Certificate Filename | Place the certificate file in /home/container and enter the filename here, e.g; ts6_https_cert.pem | TSSERVER_QUERY_HTTPS_CERT | Yes | Yes | |
HTTPS Private Key Filename | Place the private key file in /home/container and enter the filename here, e.g: ts6_https_key.pem | TSSERVER_QUERY_HTTPS_PRIVATE_KEY | Yes | Yes |
cd /mnt/server
apt-get update
apt-get install -y jq bzip2
ver="$TS_VERSION"
if [ -z "$ver" ] || [ "$ver" = "latest" ]; then
json=$(curl -sSL https://api.github.com/repos/teamspeak/teamspeak6-server/releases/latest)
else
json=$(curl -sSL https://api.github.com/repos/teamspeak/teamspeak6-server/releases/tags/$ver 2>/dev/null)
if echo "$json" | grep -q "Not Found"; then
altver=$(echo "$ver" | sed 's/-/\//')
json=$(curl -sSL https://api.github.com/repos/teamspeak/teamspeak6-server/releases/tags/$altver 2>/dev/null)
fi
fi
if echo "$json" | grep -q "Not Found"; then
echo "Not found: $ver"
exit 1
fi
url=$(echo "$json" | jq -r '.assets | map(select((.name | contains("linux_amd64")) and (.name | endswith(".tar.bz2"))))[0].browser_download_url')
if [ -z "$url" ] || [ "$url" = "null" ]; then
echo "Not found: $ver"
exit 1
fi
curl -sSL "$url" | tar xj --strip-components=1
echo "Installed"