Code Monkey home page Code Monkey logo

docker-teamspeak-alpine's Introduction

docker-teamspeak-alpine

Important: Build Status, dependency is missing

Features:

  • base image(130+ stars) + this automatic build
  • alpine linux + glibc + ca-certs + ts3server = lowest size possible
  • always newest version on restart
  • always SHA256 checked
  • if download on restart fails => last valid version is used
  • tar logs on every restart (inclusive last logs.tar) and clears Logs/*
  • persistent: blacklist, whitelist, ts3server.ini, ts3server.sqlitedb, ...
  • docker run arguments are passed directly to ts3server

Example 1 - Simple setup, persistent data

Run container with teamspeak auto-update:

docker run -dti --name "teamspeak_server" -p 9987:9987/udp -p 30033:30033 -p 10011:10011 \
--volume="teamspeak_server:/home/teamspeak3-server:rw" \
"jusito/docker-teamspeak-alpine:latest"

Example 2 - Use your config file

Create docker volume and copy your ini in, in this example its ts3server.ini. Use your given ini with auto-update:

docker run -dti --name "teamspeak_server" -p 9987:9987/udp -p 30033:30033 -p 10011:10011 \
--volume="teamspeak_server:/home/teamspeak3-server:rw" \
"jusito/docker-teamspeak-alpine:latest" "inifile=ts3server.ini"

Example 3 - Set serveradmin password & use your ini

Create docker volume and copy your ini in, in this example its ts3server.ini. Setting serveradmin password & ini:

docker run -dti --name "teamspeak_server" -p 9987:9987/udp -p 30033:30033 -p 10011:10011 \
--volume="teamspeak_server:/home/teamspeak3-server:rw" \
"jusito/docker-teamspeak-alpine:latest" "serveradmin_password=123" "inifile=ts3server.ini"

Hints

  • On ubuntu docker volumes are default at: /var/lib/docker/volumes/NAME/
  • if you want to use your files, create the volume and copy elements in, owner should be 10002:10002 and rw
  • for multiple virtual servers you just need to expose one port more f.e. 9987/udp & 9988/udp
  • Ports: http://www.teamspeak.de/faq/index.php?solution_id=1032

Teamspeak 3 server parameters

  • the parameters are listed with default value
  • default_voice_port=9987, for first virtual server, second using this + 1, aso.
  • voice_ip=0.0.0.0, default listen port = listen on every ip
  • create_default_virtualserver=1, create virtual server if no valid instance exists (instances > 32 port and no valid license are invalid)
  • machine_id=
  • filetransfer_port=30033
  • filetransfer_ip=0.0.0.0
  • query_port=10011
  • query_ip=0.0.0.0
  • clear_database=0, 1 means the database is cleared on every restart
  • logpath=logs/, dont change it please
  • logpath=ts3db_sqlite3
  • dbpluginparameter=
  • dbsqlpath=sql/
  • dbsqlcreatepath=create_sqlite/
  • licensepath=, empty means installation dir = root of volume
  • createinifile=0, on 1 creates an ini file with given configuration
  • inifile=, ini used for server
  • query_ip_whitelist=query_ip_whitelist.txt

ToDo

  • add health check -> calculate & check hash

docker-teamspeak-alpine's People

Contributors

jusito avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.