feat: 续费提醒告警(Telegram/邮件多渠道+续费检查+每日定时+前端控制)
This commit is contained in:
@@ -7,3 +7,25 @@ APP_NAME=VPS 资产管理系统
|
||||
# 留空 = 不校验(适用于纯 Tailscale 内网环境)
|
||||
# 配置后,所有写操作需在请求头携带 X-API-Key: <此密钥>
|
||||
API_KEY=
|
||||
|
||||
# Agent 上报鉴权密钥(可选)
|
||||
AGENT_KEY=
|
||||
|
||||
# 凭证加密主密钥(Fernet,必填以加密 API Key/SSH 凭证)
|
||||
# 生成:python -c 'from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())'
|
||||
MASTER_KEY=
|
||||
|
||||
# ---- 通知渠道:Telegram(续费提醒)----
|
||||
TELEGRAM_BOT_TOKEN=
|
||||
TELEGRAM_CHAT_ID=
|
||||
|
||||
# ---- 通知渠道:邮件(SMTP)----
|
||||
SMTP_HOST=
|
||||
SMTP_PORT=465
|
||||
SMTP_USER=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_FROM=
|
||||
SMTP_TO=
|
||||
|
||||
# ---- 续费提醒阈值(天)----
|
||||
RENEWAL_THRESHOLD_DAYS=30
|
||||
|
||||
Reference in New Issue
Block a user