Files
cftunnel/docker/relay-server/docker-compose.yml
T
晴天 d976ee2c33 feat: relay 模式 + SSH 远程部署 + 官网移动端适配 + 国内镜像源
- 新增 relay 模式: frp 中继引擎,TCP/UDP 全协议穿透
- 新增 relay server setup: SSH 远程安装 frps 服务端
- 新增 sshutil 包: 纯 Go SSH 连接/远程执行
- 官网: 移动端响应式适配 (480/768/900px 三断点)
- 官网: 修复 Star 按钮样式,特性卡片 11→12
- install.sh: 国内镜像源加速 (ghfast/gh-proxy/ghproxy)
- Docker Compose + install-relay.sh 服务端部署方案
2026-02-26 22:29:56 +08:00

18 lines
479 B
YAML

# cftunnel 中继服务端 Docker 部署
# 用法:
# 1. 复制 frps.toml.example 为 frps.toml,修改 auth.token
# 2. docker compose up -d
#
# 端口说明:
# 7000 — frps 控制端口(客户端连接用)
# 6000-6100 — 穿透端口范围(按需调整)
services:
frps:
image: snowdreamtech/frps:0.66.0
container_name: cftunnel-relay
restart: unless-stopped
network_mode: host
volumes:
- ./frps.toml:/etc/frp/frps.toml:ro