docs: 新增 ALERT_WEBHOOK_PASSWORD 和 GITLAB_TOKEN 到 .env.example
- 新增 Alert Webhook 認證設定範例 - 新增 GitLab CI/CD API token 設定範例 - 解決啟動時的環境變數警告
This commit is contained in:
15
.env.example
15
.env.example
@@ -38,6 +38,21 @@ EMAIL_RECEIVER=receiver_email@gmail.com
|
||||
PUBLIC_URL=http://your_server_ip:port
|
||||
NGROK_AUTH_TOKEN=your_ngrok_auth_token
|
||||
|
||||
# ==========================================
|
||||
# 通訊模組設定(從環境變數讀取)
|
||||
# ==========================================
|
||||
|
||||
# --- Alert Webhook ---
|
||||
ALERT_WEBHOOK_USER=alertmanager
|
||||
ALERT_WEBHOOK_PASSWORD=your_secure_webhook_password_here
|
||||
|
||||
# --- GitLab CI/CD ---
|
||||
GITLAB_URL=http://192.168.0.110:8929
|
||||
GITLAB_TOKEN=your_gitlab_token_here
|
||||
GITLAB_PROJECT_ID=1
|
||||
|
||||
# --- Telegram Bot ---
|
||||
|
||||
# ==========================================
|
||||
# HTTPS 設定(生產環境)
|
||||
# ==========================================
|
||||
|
||||
Reference in New Issue
Block a user