refactor: separate fleet manager from local monitoring

This commit is contained in:
way
2026-09-27 22:28:03 +08:00
parent ced0140450
commit c8c12b7b70
8 changed files with 90 additions and 361 deletions
+3 -8
View File
@@ -13,15 +13,10 @@ identifier = auto
name = auto
[hosts]
# 在作为聚合入口的机器上登记其他节点,每行格式:
# 唯一标识 = http://节点IP:6001
# 示例:
# living-room = http://192.168.1.20:6001
[api]
# API 与 Web 使用同一监听地址和端口。0.0.0.0 允许局域网访问;
# 默认关闭远程 API。开启后所有请求均需令牌;本地监控和插件联动不受此开关影响。
enabled = false
# API 监听地址和端口。0.0.0.0 允许局域网访问;
# 如只允许本机访问可改为 127.0.0.1。修改后重启 API 服务生效。
bind = 0.0.0.0
port = 6001