dnfs2: --no-confs 模式 + 全量 CLI 参数(dnfs.ini 字段全部可 CLI 覆盖)

- 新增 --db-host/--db-port/--db-timeout
- 新增 --review-url/--review-timeout
- 新增 --gateway-url/--gateway-timeout
- 新增 --no-confs 开关:跳过 confs 拉取,完全靠 CLI + ENV + 默认值
- services.yaml: dnfs2 启用 --no-confs,所有配置写进 args
This commit is contained in:
qing committed 2026-08-10 03:35:39 +08:00
1 parent fc4e1c4a61
commit 22ade06114
2 files changed
+110 -62

No files matched your search

+24 -1
View File
@@ -28,7 +28,30 @@ services:
# --- 文件服务 ---
- name: dnfs2
cmd: bash /opt/micro_servers/dnfs2/_run.sh
args: ["--instance", "dnfs2", "--log-level", "info"]
args:
- "--no-confs"
- "--instance"
- "dnfs2"
- "--log-level"
- "info"
- "--host"
- "127.0.0.1"
- "--port"
- "8006"
- "--db-host"
- "127.0.0.1"
- "--db-port"
- "8005"
- "--db-timeout"
- "10"
- "--review-url"
- "http://127.0.0.1:8007/review"
- "--review-timeout"
- "10"
- "--gateway-url"
- "http://127.0.0.1:8443/whoami"
- "--gateway-timeout"
- "5"
depends_on: [db2, ai_review]
sleep_before: 0