dev: docker-compose TS3/TS6 servers and tsctl smoke test
- dev/docker-compose.yml: TeamSpeak 3.13 and TeamSpeak 6 beta13.1, pinned by digest, REGISTRY override for the Docker Hub mirror. - scripts/it-smoke.sh: tree, server chat and channel chat round-trips on both servers; redeems the one-time ServerAdmin key. - tsctl raw: send an arbitrary command (used to relax anti-flood on the dev servers; later for probing TS6 stream commands). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
51a19594d0
commit
ebeec4c2e3
5 files changed
+157
-1
No files matched your search
@@ -0,0 +1,48 @@
|
||||
# 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.
|
||||
#
|
||||
# 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: tsc-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
|
||||
ports:
|
||||
- "9987:9987/udp" # voice
|
||||
- "10011:10011" # raw ServerQuery
|
||||
- "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
|
||||
ports:
|
||||
- "9988:9987/udp" # voice (mapped to 9988 so both servers can run)
|
||||
- "10022:10022" # SSH ServerQuery
|
||||
- "10080:10080" # HTTP WebQuery
|
||||
- "30034:30033" # file transfer
|
||||
volumes:
|
||||
- ts6-data:/var/tsserver
|
||||
- ./query_ip_allowlist.txt:/var/tsserver/query_ip_allowlist.txt:ro
|
||||
|
||||
volumes:
|
||||
ts3-data:
|
||||
ts6-data:
|
||||
@@ -0,0 +1,5 @@
|
||||
127.0.0.1/32
|
||||
::1/128
|
||||
10.0.0.0/8
|
||||
172.16.0.0/12
|
||||
192.168.0.0/16
|
||||
Reference in new issue
Block a user