Files
Pre_Seg_Server/docker/frpc/frpc.toml
2026-05-08 00:32:02 +08:00

44 lines
1.2 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# frpc template for Seg_Server_Docker.
# This file is not used by default. Enable it with the Docker Compose "frpc" profile
# after replacing every "# XXXX" placeholder below.
# 基础连接配置
serverAddr = "82.157.255.195"
# XXXX 公网 frps 服务端口,必须与 frps 的 bindPort 一致
serverPort = 7000
# 权限验证 - 必须与服务端一致
auth.method = "token"
auth.token = "en.xjtu.edu.cn"
# 传输配置优化
transport.poolCount = 5
transport.heartbeatTimeout = -1
# --- 映射前端访问端口 ---
# NPM 可反代公网服务器本机 remotePort 10000 到 seg.huijutec.cn
[[proxies]]
name = "seg-frontend"
type = "tcp"
localIP = "frontend"
localPort = 80
remotePort = 10000
# --- 映射后端 API + WebSocket 端口 ---
# NPM 可反代公网服务器本机 remotePort 10001 到 seg-api.huijutec.cn并开启 WebSocket Support
[[proxies]]
name = "seg-backend"
type = "tcp"
localIP = "backend"
localPort = 8000
remotePort = 10001
# --- 映射 MinIO 图片/帧图/缩略图端口 ---
# NPM 可反代公网服务器本机 remotePort 10002 到 seg-minio.huijutec.cn
[[proxies]]
name = "seg-minio"
type = "tcp"
localIP = "minio"
localPort = 9000
remotePort = 10002