Files
VoelinClient/dev/docker-compose.yml
T
Claude e10c5ba7f4 ts-bookkeeping: parse TeamSpeak 6 times in milliseconds
TeamSpeak 6 (6.0.0-beta13.1) sends the `datetime` of notifyfilelist in
milliseconds. The parser read it as seconds, failed on the out-of-range
date and dropped the whole message, so every file list came back
empty. Times from 10^11 on (year 5138 in seconds) are now taken as
milliseconds.

The TS6 dev server gets its own file transfer port (30034): clients
connect to the port the server announces, and 30033 on the host is the
TS3 server's, so transfers with TS6 went to the wrong server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
2026-09-29 00:41:31 +00:00

64 lines
2.6 KiB
YAML

# Local TeamSpeak servers for development and integration tests.
#
# docker compose -f dev/docker-compose.yml up -d
# scripts/it-smoke.sh
#
# Each server prints a one-time ServerAdmin privilege key to its log on first
# start; the smoke test reads it from there. `down -v` resets the servers.
#
# ServerQuery: every interface is enabled with the fixed development password
# `voelin-dev-admin` for the `serveradmin` login (TS3: raw 10011, SSH 10023,
# HTTP 10081; TS6: SSH 10022, HTTP 10080). Never use these settings in production.
#
# query_ip_allowlist.txt allowlists private ranges: clients reach the servers
# through the Docker bridge, and allowlisted IPs skip the anti-flood bans that
# rapid test connections would otherwise trigger. Development use only.
#
# Images are pinned by digest; bump by pulling the new tag and copying its digest.
# If Docker Hub rate-limits you, use its mirror: REGISTRY=mirror.gcr.io
name: voelin-dev
services:
ts3:
# teamspeak:3.13
image: ${REGISTRY:-docker.io}/library/teamspeak@sha256:6dfdfb22869adf50e1b66d024b360b786d57a85ea09e8e8fdb6cca23949b2813
environment:
TS3SERVER_LICENSE: accept
TS3SERVER_IP_ALLOWLIST: /etc/ts3server/query_ip_allowlist.txt
TS3SERVER_SERVERADMIN_PASSWORD: voelin-dev-admin
TS3SERVER_QUERY_PROTOCOLS: raw,ssh,http
ports:
- "9987:9987/udp" # voice
- "10011:10011" # raw ServerQuery
- "10023:10022" # SSH ServerQuery
- "10081:10080" # HTTP WebQuery
- "30033:30033" # file transfer
volumes:
- ts3-data:/var/ts3server
- ./query_ip_allowlist.txt:/etc/ts3server/query_ip_allowlist.txt:ro
ts6:
# teamspeaksystems/teamspeak6-server:latest as of 2026-09-22 (6.0.0-beta13.1)
image: ${REGISTRY:-docker.io}/teamspeaksystems/teamspeak6-server@sha256:d845f803aecf842c2df034c959c23ff2462357bacafb3807500885c5ec170fa1
environment:
TSSERVER_LICENSE_ACCEPTED: accept
TSSERVER_QUERY_ADMIN_PASSWORD: voelin-dev-admin
TSSERVER_QUERY_SSH_ENABLED: 1
TSSERVER_QUERY_HTTP_ENABLED: 1
TSSERVER_QUERY_ALLOW_LIST: /etc/tsserver/query_ip_allowlist.txt
# Clients connect to the port the server announces, so it must be the
# published one (30033 is the TS3 server's).
TSSERVER_FILE_TRANSFER_PORT: 30034
ports:
- "9988:9987/udp" # voice (mapped to 9988 so both servers can run)
- "10022:10022" # SSH ServerQuery
- "10080:10080" # HTTP WebQuery
- "30034:30034" # file transfer: the server announces its own port
volumes:
- ts6-data:/var/tsserver
- ./query_ip_allowlist.txt:/etc/tsserver/query_ip_allowlist.txt:ro
volumes:
ts3-data:
ts6-data: