fix(post-3.5c): .env.example 補齊 HERMES_URL + DISABLE_LOGIN
All checks were successful
CD Pipeline / deploy (push) Successful in 1m19s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m19s
P1-19: - 既有 LOGIN_PASSWORD/SECRET_KEY 補上「[必填]」註解 - 新增 DISABLE_LOGIN(auth.py:13 在用,但 .env.example 沒有) - 新增 Hermes 區塊:HERMES_URL、HERMES_TIMEOUT、EMBEDDING_HOST(註解) - 統一格式:每條前面加「[必填] / [預設 X]」標註 注意:Elephant Alpha 區塊既有 ELEPHANT_ALPHA_HERMES_URL 是 Elephant 專用, 與本次新增的 HERMES_URL(Hermes Module 2 用)不同變數,分開保留。
This commit is contained in:
18
.env.example
18
.env.example
@@ -7,9 +7,15 @@
|
||||
# ==========================================
|
||||
# 安全設定
|
||||
# ==========================================
|
||||
# [必填] 登入密碼(弱密碼會被 LoginManager 拒絕)
|
||||
LOGIN_PASSWORD=your_strong_password_here
|
||||
|
||||
# [必填] Flask session 簽章密鑰(建議 openssl rand -hex 32)
|
||||
SECRET_KEY=your_flask_secret_key_here
|
||||
|
||||
# [預設 false] 開發測試用:設 true 可繞過所有 @login_required(生產環境嚴禁開啟)
|
||||
DISABLE_LOGIN=false
|
||||
|
||||
# ==========================================
|
||||
# Telegram Bot 設定
|
||||
# ==========================================
|
||||
@@ -85,6 +91,18 @@ USE_POSTGRESQL=true
|
||||
GDRIVE_FOLDER_PATH=業績報表/當日業績
|
||||
GDRIVE_FILE_PATTERN=即時業績_當日
|
||||
|
||||
# ==========================================
|
||||
# Hermes 3 競價情報分析(Module 2 / ADR-012)
|
||||
# ==========================================
|
||||
# [預設 http://192.168.0.111:11434] Hermes Ollama 端點(內網免認證)
|
||||
HERMES_URL=http://192.168.0.111:11434
|
||||
|
||||
# [預設 120] Hermes 推理 timeout(秒);批量 300 筆預估 ~90s
|
||||
HERMES_TIMEOUT=120
|
||||
|
||||
# [預設 HERMES_URL] Embedding 服務主機(ADR-003 對齊:embedding 走 Hermes 主機)
|
||||
# EMBEDDING_HOST=http://192.168.0.111:11434
|
||||
|
||||
# ==========================================
|
||||
# Elephant Alpha AI Agent Super Orchestrator Settings
|
||||
# ==========================================
|
||||
|
||||
Reference in New Issue
Block a user