修改默认值
This commit is contained in:
1 parent
a1867fd03e
commit
6faee25ba7
4 files changed
+38
-19
No files matched your search
@@ -45,7 +45,10 @@ python -m maintain
|
||||
|
||||
### 3) 必填配置(配置编辑页)
|
||||
|
||||
- `cliproxy_management_base`、`cliproxy_management_key`:巡检/清理必填。
|
||||
- `cliproxy_management_base`、`cliproxy_management_key`:巡检/清理核心配置。默认值为:
|
||||
- `cliproxy_management_base = http://127.0.0.1:8317`
|
||||
- `cliproxy_management_key = $CLIPROXY_MANAGEMENT_KEY`,若未设置则回退 `$MANAGEMENT_KEY`
|
||||
- 因此单机部署通常只需要设置一个环境变量 `CLIPROXY_MANAGEMENT_KEY`(或 `MANAGEMENT_KEY`)即可。
|
||||
- **CPA auths 固定目录**:部署时在仓库里改 `maintain/paths_config.py` 的 `CPA_AUTHS_DIR`(例如 NAS 挂载点 `/mnt/cpa_auths`)。新库默认会把 **`codex_stats_oauth_dir`** 与流水线 **`cpa_target_dir`** 设成该路径;**统计目录留空**时也会回落到该路径。已有 SQLite 里若仍是旧值,可在「配置编辑」里改一次或删掉对应 `settings` 行后重启。
|
||||
- `cliproxy_sweeper_threshold` / `cliproxy_sweeper_run_mode`:控制 `/usage` 清理阈值与 delete/observe 模式。
|
||||
|
||||
|
||||
Reference in new issue
Block a user