Revert "rule重构"

This reverts commit 1cbf080e1e.
This commit is contained in:
riglen
2026-04-20 14:42:37 +08:00
parent 70b3568ccd
commit 333b66c6bd
11 changed files with 485 additions and 2199 deletions

View File

@@ -40,11 +40,6 @@ sub-provider/
rules.py
subscriptions.py
config/
app.yaml
clients.yaml
policy-groups.yaml
regions.yaml
rules.yaml
sources.yaml
rules/
reject.yaml
@@ -78,22 +73,13 @@ cp .env.example .env
- 也可以直接填本地文件路径,例如 `/app/data/sources/airport-b.txt``file:///app/data/sources/airport-b.txt`
- 允许把其中一个留空;留空时这个机场会自动跳过
3. 按需调整 `config/` 下拆分后的配置文件
- `app.yaml`:公共访问路径
- `sources.yaml`:机场源配置
- `regions.yaml`:地区自动组
- `policy-groups.yaml`:选择器组和业务策略组
- `rules.yaml`:规则绑定
- `clients.yaml`:客户端模板
4. 启动:
3. 启动
```bash
docker compose up -d --build
```
5. 访问检查:
4. 访问检查:
- 健康检查:`http://YOUR_HOST:18080/healthz`
- 单 provider