๐๏ธ TS6 Manager
![]()
TS6 Manager is a web-based management interface for TeamSpeak servers. It lets you control virtual servers, channels, clients, permissions, music bots, automated workflows and embeddable server widgets โ all from your browser.
It is built on the WebQuery HTTP API, the ServerQuery replacement in modern TeamSpeak builds. Telnet is not used or supported. It pairs naturally with the ๐๏ธ TeamSpeak 6 Server template.
๐ท๏ธ Category: Game Server
๐ณ Images:
| Template | Image |
|---|---|
TS6-Manager-Backend | clusterzx/ts6-manager:backend |
TS6-Manager-Frontend | clusterzx/ts6-manager:frontend |
TS6-Manager-Sidecar | clusterzx/ts6-manager:sidecar |
๐ผ๏ธ Screenshots



Screenshots: clusterzx/ts6-manager (MIT)
โจ Features
| Area | What you get |
|---|---|
| ๐ฅ๏ธ Server Management | Live dashboard, channel tree with drag & drop, client actions (kick, ban, move, poke), server & channel groups, permission editor, ban list, privilege keys, logs, file browser |
| ๐ต Music Bots | Multiple bots per server with own queue, radio streams, YouTube via yt-dlp, local music library, in-channel chat commands |
| ๐บ Video Streaming | Live video from YouTube, Twitch or direct URLs into TeamSpeak channels via the WebRTC sidecar |
| ๐ Bot Flow Engine | Visual node editor โ triggers (TS events, cron, webhooks, chat commands), conditions and actions; templates for temp channels, AFK mover, idle kicker and more |
| ๐ชง Server Widgets | Embeddable status banner for websites as live page, SVG or PNG |
| ๐ Security | Setup wizard (no default credentials), AES-256-GCM encrypted credentials, admin / viewer roles, per-server access |
๐งฉ Stack Overview
TS6 Manager consists of three containers. Each one is its own template in the MOS Hub.
| Template | Role | Required |
|---|---|---|
TS6-Manager-Backend | Express API, WebQuery client, bot engine, music bots, SQLite database | โ |
TS6-Manager-Frontend | React web UI served by nginx, proxies /api and /ws to the backend | โ |
TS6-Manager-Sidecar | Go/Pion WebRTC relay for video streaming | Only for video streaming |
Browser โโโถ Frontend :3000 โโโถ backend:3001 โโโถ TeamSpeak WebQuery :10080
โ SSH Query :10022
โโโโถ ts6-sidecar:9800 (video)
๐ How the containers find each other
The upstream images expect the hostnames backend and ts6-sidecar (the frontendโs nginx config proxies to http://backend:3001, the backend defaults to SIDECAR_URL=http://ts6-sidecar:9800).
The templates solve this with Dockerโs --add-host option in Extra Parameters:
| Template | Extra Parameter | Effect |
|---|---|---|
| Frontend | --add-host=backend:host-gateway | backend resolves to the MOS host โ host port 3001 |
| Backend | --add-host=ts6-sidecar:host-gateway | ts6-sidecar resolves to the MOS host โ host port 9800 |
โ ๏ธ Important: Because of this, the backend must be published on host port
3001and the sidecar on host port9800. Only the frontend port (3000) can be changed freely.
๐ Links
| ย | ย |
|---|---|
| ๐ฆ Project | github.com/clusterzx/ts6-manager |
| ๐ Support | GitHub Issues |
| ๐ฌ Community | TeamSpeak Community โ TS6 Server Tools |
๐ Ports
| Template | Port | Protocol | Description |
|---|---|---|---|
| Frontend | 3000 โ 80 | TCP | Web interface (nginx) |
| Backend | 3001 | TCP | API & WebSocket โ must stay 3001 |
| Sidecar | 9800 | TCP | Sidecar HTTP control API โ must stay 9800 |
โ ๏ธ Port conflicts: In this repository, Grafana, Homepage, Tracearr and Gotenberg also default to host port
3000, Uptime Kuma and Dashdot to3001. Change the frontend port to a free one if needed. If3001is taken, move the other app to a different host port โ or use the custom nginx config described under Advanced: Custom Backend Port below.
๐พ Volumes
| Template | Host Path | Container Path | Mode | Description |
|---|---|---|---|---|
| Backend | /mnt/cache/appdata/ts6-manager/data | /app/packages/backend/data | RW | SQLite database & uploaded YouTube cookie file |
| Backend | /mnt/cache/appdata/ts6-manager/music | /data/music | RW | Music library & yt-dlp downloads |
Frontend and sidecar store no data.
โ๏ธ Environment Variables
๐ Backend
| Variable | Default | Masked | Description |
|---|---|---|---|
JWT_SECRET | (empty) | โ | Required. Random secret, min. 32 characters. Without it the backend exits on start |
ENCRYPTION_KEY | (empty) | โ | Recommended. Key for encrypting stored API keys & SSH passwords. Falls back to JWT_SECRET |
FRONTEND_URL | http://YOUR-SERVER-IP:3000 | โ | URL of the web UI, used as CORS origin |
TS_ALLOW_SELF_SIGNED | false | โ | true if WebQuery runs over HTTPS with a self-signed certificate |
SIDECAR_URL | http://ts6-sidecar:9800 | โ | Sidecar address โ works with the --add-host entry |
DATABASE_URL | file:/app/packages/backend/data/ts6webui.db | โ | SQLite path inside the container โ leave as is |
MUSIC_DIR | /data/music | โ | Music path inside the container โ leave as is |
NODE_ENV | production | โ | Runtime mode โ leave as is |
PORT | 3001 | โ | Internal API port โ must stay 3001 |
JWT_ACCESS_EXPIRY | 15m | โ | Access token lifetime |
JWT_REFRESH_EXPIRY | 7d | โ | Refresh token lifetime |
TZ | Europe/Vienna | โ | Container timezone |
๐บ Sidecar
| Variable | Default | Masked | Description |
|---|---|---|---|
SIDECAR_PORT | 9800 | โ | Internal HTTP port โ must match SIDECAR_URL |
SIDECAR_DEBUG_LOGS | 0 | โ | 1 enables verbose debug logging |
๐ฅ๏ธ Frontend
No environment variables required for this container.
๐ Quick Start
โโ 1๏ธโฃ Generate the secrets
```bash
openssl rand -base64 32 # โ JWT_SECRET
openssl rand -base64 32 # โ ENCRYPTION_KEY
```
โโ 2๏ธโฃ Create the data directories
```bash
mkdir -p /mnt/cache/appdata/ts6-manager/data
mkdir -p /mnt/cache/appdata/ts6-manager/music
```
โโ 3๏ธโฃ Install from the MOS Hub โ in this order
1. **TS6-Manager-Sidecar**
2. **TS6-Manager-Backend** โ paste `JWT_SECRET` and `ENCRYPTION_KEY`,
replace `YOUR-SERVER-IP` in `FRONTEND_URL`
3. **TS6-Manager-Frontend**
โโ 4๏ธโฃ Create the admin account
Open `http://your-server-ip:3000/setup` and create your admin user.
There are no default credentials.
โโ 5๏ธโฃ Prepare your TeamSpeak server
- **WebQuery HTTP** must be enabled (the TeamSpeak 6 template exposes it on `10080`)
- Create a **WebQuery API key** โ e.g. with the `apikeyadd` query command
- **SSH Query** (`10022`) plus username & password are only needed for
bot flow event triggers
โโ 6๏ธโฃ Connect the server
In TS6 Manager go to **Settings โ Connections** and add:
| Field | Value |
|---|---|
| Host | IP of your MOS server |
| WebQuery Port | `10080` |
| API Key | your WebQuery API key |
| SSH Port | `10022` *(optional)* |
โ ๏ธ Note: Do not use
localhostor127.0.0.1as host โ inside the backend container that points to the container itself, not to your TeamSpeak server.
๐ต Music Bot Commands
Users in the botโs channel can control it via text chat:
| Command | Description |
|---|---|
!radio | List available radio stations |
!radio <id> | Play a radio station |
!play <url> | Play from YouTube URL |
!play | Resume paused playback |
!stop | Stop playback |
!pause | Toggle pause / resume |
!skip / !next | Next track in queue |
!prev | Previous track |
!vol | Show current volume |
!vol <0-100> | Set volume |
!np | Show current track |
๐ฉบ Troubleshooting
โโ Backend stops right after start
The log shows `[FATAL] JWT_SECRET is set to the default value`.
โ `JWT_SECRET` is empty. Set it and restart the container.
โโ Frontend container keeps restarting
nginx can't resolve `backend`.
โ Check that **Extra Parameters** of the frontend contain
`--add-host=backend:host-gateway`.
โโ Web UI loads, but login / API calls fail (502)
โ Make sure `TS6-Manager-Backend` is running and published on host port `3001`.
โโ Video streaming doesnโt start
โ Check that `TS6-Manager-Sidecar` is running on host port `9800` and that the
backend has `--add-host=ts6-sidecar:host-gateway` in its Extra Parameters.
โโ YouTube asks for a bot check / age-restricted videos fail
โ Upload a Netscape-format `cookies.txt` under **Settings โ YouTube** in the UI.
It is stored in the data volume and survives restarts.
๐ ๏ธ Advanced: Custom Backend Port
If host port 3001 is already taken, you can override the frontendโs nginx config so it proxies to another port.
โโ 1๏ธโฃ Change the backendโs host port (e.g. 3011) โ keep the container port 3001
โโ 2๏ธโฃ Create /mnt/cache/appdata/ts6-manager/nginx/default.conf
```nginx
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
client_max_body_size 150m;
location /api {
proxy_pass http://backend:3011;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /ws {
proxy_pass http://backend:3011;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
location /widget/ {
add_header X-Frame-Options "";
add_header Content-Security-Policy "frame-ancestors *";
try_files $uri $uri/ /index.html;
}
location / {
try_files $uri $uri/ /index.html;
}
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml;
}
```
โโ 3๏ธโฃ Add a path to the frontend template
| Host Path | Container Path | Mode |
|---|---|---|
| `/mnt/cache/appdata/ts6-manager/nginx/default.conf` | `/etc/nginx/conf.d/default.conf` | RO |
๐ก Tip: This is the imageโs built-in config with only the two
proxy_passports changed.
๐ก Notes
๐ Security: Only the frontend (
3000) needs to be reachable for users. Keep3001and9800closed to the internet โ the backend API is meant to be accessed through the frontend.
๐ Encryption key: Stored API keys and SSH passwords are encrypted with a key derived from
ENCRYPTION_KEY(orJWT_SECRETif empty). If you change it later, existing credentials can no longer be decrypted and have to be re-entered.
๐ Reverse proxy: Point your proxy (e.g. SWAG, Nginx Proxy Manager) at the frontend port and set
FRONTEND_URLto your public URL. WebSockets (/ws) must be allowed through.
๐ชง Widgets: Public server widgets under
/widget/<token>work without login and can be embedded in websites.
๐ค AI notice: The upstream project marks itself as an AI Assisted Project.
๐ For more information: See the TS6 Manager README for all features and the full list of sidecar tuning variables.