Public | Automated Build

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

docker-teamspeak

A docker container for a Teamspeak3 server. Supports automatic backup and restore of the internal Teamspeak
database (ts3server.sqlitedb) to Amazon S3 and Google Cloud Storage. This does not back up shared files, but does backup the channels, permissions, etc.

Usage

$ docker pull docker pull jwgur/docker-teamspeak
$ docker run \
    -e "S3_BUCKET=[REPLACEME]" \
    -e "S3_ACCESS_KEY=[REPLACEME]" \
    -e "S3_SECRET_KEY=[REPLACEME]" \
    -p 10011:10011 \
    -p 9987:9987/udp \
    -d jwgur/docker-teamspeak

Environment variables

Variable Meaning
TEAMSPEAK_VERSION (Optional) Version of Teamspeak. Defaults to 3.0.11.2 (Released 2014-12-15)
S3_BUCKET (Optional) S3 bucket where ts3server.sqlitedb can be found.
S3_ACCESS_KEY (Optional) S3 access key
S3_SECRET_KEY (Optional) S3 secret key
GCS_BUCKET (Optional) Google Cloud Storage bucket where ts3server.sqlitedb can be found.
GCS_FOLDER (Optional) Google Cloud Storage folder in the bucket to look for and store ts3server.sqlitedb can be found.
GCS_KEY (Optional) Base64-encoded JSON-encoded Google Compute Engine Internal Service Account key
GCS_ACCOUNT_EMAIL (Optional) The email address for the Google Compute Engine Internal Service Account

Internals

Base image: This image uses the phusion/baseimage based off Ubuntu.

At startup, before running the server, we attempt to load the backup database from S3/GCS (etc/my_init.d/001-download.sh). Then we start the server (etc/service/teamspeak/run).

Backups

The backup script (etc/service/teamspeak-backups/run) is run concurrently with the teamspeak server by the phusion init system.

Contributing

I am accepting of contributions both of feature requests as well as pull requests. You should expect a response within one or two business days.

Docker Pull Command
Owner
jwgur
Source Repository