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
+1 -1
View File
@@ -1,5 +1,5 @@
http_port: 4200
last_updated: 16793.540021822
last_updated: 17177.1104973
plugin_routes:
sentinel:
- methods: