新增 local→serve 数据同步功能

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-06 10:27:00 +08:00
parent 1ae2102b4c
commit 274b90eef6
11 changed files with 706 additions and 5 deletions
+4
View File
@@ -95,6 +95,10 @@ class Settings(BaseSettings):
log_level: str = "INFO"
backtest_range_guard: bool = False
# Sync — 数据同步到 serve
sync_serve_url: str = ""
sync_key: str = ""
# Auth — 首次启动时预置访问密码(明文, 仅用于初始化, 详见 services/auth.bootstrap_from_env)
# 公网服务器部署时免去 SSH 端口转发设密码的麻烦。写入 auth.json(哈希)后即不再读取。
auth_password: str = ""