feat: 优化代理准备并完善远端部署

- 增加严格代理、两分钟预取、白名单去重与分组状态展示\n- 增加远端注册令牌和安全地址校验\n- 增加 Docker Compose、Caddy 示例与控制中心部署文档
This commit is contained in:
yml
2026-11-21 20:59:35 +08:00
parent d176c421a8
commit 9c83be798d
43 changed files with 2755 additions and 119 deletions
+17
View File
@@ -0,0 +1,17 @@
# 发布到镜像仓库后改为固定版本镜像,例如 ghcr.io/owner/douyu-control:v1.0.0
DOUYU_CONTROL_IMAGE=douyu-control:local
# 中国大陆服务器可使用 https://goproxy.cn,direct
GOPROXY=https://proxy.golang.org,direct
# 宿主机只监听回环地址,由 Caddy 暴露 HTTPS。
DOUYU_CONTROL_HOST_PORT=18080
# 管理网页令牌,与注册令牌必须不同。
DOUYU_CONTROL_OPERATOR_TOKEN=replace-with-openssl-rand-hex-32
# 桌面端“注册令牌”填写同一个值。
DOUYU_CONTROL_ENROLL_TOKEN=replace-with-another-openssl-rand-hex-32
# 仅在未设置注册令牌时启用自动注册窗口。
DOUYU_CONTROL_ENROLL_WINDOW=10m