-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
40 lines (32 loc) · 1.22 KB
/
Copy path.env.example
File metadata and controls
40 lines (32 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# =============================================================================
# CS2 饰品价格波动监控系统 - 环境变量配置
# =============================================================================
# 请将本文件复制为 .env 并填写真实的配置值
# NEVER commit .env to version control!
# =============================================================================
# SteamDT API 配置
# 从 SteamDT 开放平台获取:https://doc.steamdt.com/
STEAMDT_API_KEY=your_steamdt_api_key_here
STEAMDT_API_BASE_URL=https://open.steamdt.com
# 监控配置
CHECK_INTERVAL_MINUTES=30
DEFAULT_THRESHOLD_PERCENT=5.0
ALERT_COOLDOWN_HOURS=4
TIMEZONE=Asia/Shanghai
# Web 服务配置
WEB_HOST=0.0.0.0
WEB_PORT=8080
# 认证配置(单用户模式)
ADMIN_PASSWORD=admin
JWT_SECRET=change-me-in-production
JWT_EXPIRY_HOURS=24
# 通知渠道配置(至少配置一种)
# 默认通知渠道: wecom / telegram / serverchan
NOTIFY_CHANNEL=wecom
# 企业微信机器人 Webhook
WECOM_WEBHOOK_URL=https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=your_key_here
# Telegram Bot 配置
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=your_chat_id
# Server 酱配置
SERVERCHAN_SENDKEY=your_serverchan_sendkey