security: 配置文件模板化 — base_config.yaml 不再入库

- base_config.yaml → .gitignore (含真实密码不入库)
- 新增 base_config.yaml.example 模板 (password: CHANGE_ME)
- InitService: 检测缺失时自动从模板复制
- 首次启动自动创建配置文件

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
qinglong
2026-06-13 15:20:14 +08:00
parent a2361cf452
commit 557135c376
6 changed files with 45 additions and 17 deletions
+2
View File
@@ -12,3 +12,5 @@ _patches_applied/
.DS_Store
docs/
data/
config/framework/base_config.yaml
!config/framework/base_config.yaml.example