chore(scripts): start/stop/status 接入 media-server(port 3300)
- start.sh:新增 start_media(),端口 3300,缺 .env 时自动从 .env.example 复制; 缺 node_modules 时给出提示不跑命令;加入 all/独立子命令 - stop.sh:新增 stop_media(),通过 PID 文件 + 端口兜底停止媒体服务器 - status.sh:状态面板增加 "媒体服务器 SFU (:3300)" 行 - 完整用法:./scripts/start.sh [all|backend|frontend|admin|media|docker|--no-docker] Made-with: Cursor
This commit is contained in:
@@ -45,6 +45,7 @@ check_container() {
|
||||
echo ""
|
||||
echo "===== EchoChat 应用层 ====="
|
||||
check_port "Go 后端" 8085 "http://localhost:8085"
|
||||
check_port "媒体服务器 SFU" 3300 "http://localhost:3300/healthz"
|
||||
check_port "前台用户端" 5173 "http://localhost:5173"
|
||||
check_port "后台管理端" 3100 "http://localhost:3100"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user