Files
dygou_go/deploy/control-center/.env.example
T
yml 9c83be798d feat: 优化代理准备并完善远端部署
- 增加严格代理、两分钟预取、白名单去重与分组状态展示\n- 增加远端注册令牌和安全地址校验\n- 增加 Docker Compose、Caddy 示例与控制中心部署文档
2026-11-21 20:59:35 +08:00

18 lines
657 B
Bash

# 发布到镜像仓库后改为固定版本镜像,例如 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