feat: mode=local 统一走 SQLite + redka 本地存储

- 二进制 --mode local 或环境变量 MODE=local 自动配置 SQLite + redka
- K8s Deployment 默认 MODE=local,移除外部 MySQL/Redis 依赖
- /version 返回 redis_driver;SQLite 兼容 agent 数据清理 SQL
This commit is contained in:
Logan.Li committed 2026-06-26 13:23:30 +08:00
1 parent ec7aa61948
commit 1f4f63cf6e
4 files changed
+78 -54

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@
# ./run.sh kubernetes status 查看资源状态
# ./run.sh kubernetes logs/exec 日志/进入容器
#
# 方式 3 — 独立二进制:
# 方式 3 — 独立二进制 (默认 --mode local, SQLite + redka):
# ./run.sh build 编译独立二进制 (embed 前端)
# ./run.sh binary upgrade 停服 → 清旧产物 → 重编译 → 后台启动
# ./run.sh binary start|stop|status