mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-01 02:52:49 +08:00
Route page and signaling traffic through Cloudflare Tunnel while sending WebRTC media over direct UDP, with optional TURN REST as a fallback. When WebRTC was already offered and then fails, stay in the current session, automatically resume compatibility audio, and keep a Reconnect WebRTC control. A reconnect retries WebRTC only, leaves compatibility running until it succeeds, and stays on compatibility if it fails again. Database schema 14 adds nullable voice override columns and is a one-way boundary: older binaries reject this database. This change is for review, not a production rollout.
13 lines
502 B
YAML
13 lines
502 B
YAML
services:
|
|
cloudflared:
|
|
image: cloudflare/cloudflared:latest
|
|
container_name: webspeak-cloudflared
|
|
restart: unless-stopped
|
|
# Linux only. On Docker Desktop for Windows/macOS, run cloudflared on the
|
|
# host and use http://127.0.0.1:3040 instead.
|
|
network_mode: host
|
|
command: tunnel --config /etc/cloudflared/config.yml run
|
|
volumes:
|
|
- ./config.yml:/etc/cloudflared/config.yml:ro
|
|
- ./REPLACE_WITH_TUNNEL_UUID.json:/etc/cloudflared/REPLACE_WITH_TUNNEL_UUID.json:ro
|