Add clashctl and auto port selection

This commit is contained in:
wnlen
2026-01-14 13:31:05 +08:00
parent 0607ff6adc
commit 90f63e54e8
8 changed files with 297 additions and 18 deletions

2
.env
View File

@ -15,3 +15,5 @@ export CLASH_ALLOW_LAN=true
# External Controller (RESTful API) 配置
export EXTERNAL_CONTROLLER_ENABLED=true
export EXTERNAL_CONTROLLER=0.0.0.0:9090
# 端口可设置为 auto自动分配随机端口