加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.env 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
Haomin Kong 提交于 2024-08-10 19:17 . fix(DiskMonitor): Fix root check
# Server Info
SERVER_NAME=None
SERVER_DOMAIN=None
# CPU Monitor
CPU_HIGH_TEMPERATURE_THRESHOLD=85
TEMPERATURE_MONITOR_SAMPLING_INTERVAL=20
# GPU Monitor
GPU_MONITOR_SAMPLING_INTERVAL=5
# Hard Disk monitor
HARD_DISK_MOUNT_POINT="/" # such as "/, /mnt/hdd"
HARD_DISK_MONITOR_PASS_ROOT_CHECK=False
HARD_DISK_HIGH_PERCENTAGE_THRESHOLD=95
HARD_DISK_LOW_FREE_GB_THRESHOLD=100
HARD_DISK_MONITOR_SAMPLING_INTERVAL=3600
# Web Server
WEB_SERVER_HOST="0.0.0.0"
WEB_SERVER_CORS_ENABLE=False
# Flask
FLASK_SERVER_HOST="0.0.0.0"
FLASK_SERVER_PORT=8080
FLASK_LOG_DISABLE=True
# GPU-Dashboard Web Url
GPU_BOARD_WEB_URL=""
# WebHook Settings
WEBHOOK_SEND_LAUNCH_MESSAGE=True
WEBHOOK_DELAY_SEND_SECONDS=300
WEBHOOK_SLEEP_TIME_START="23:00"
WEBHOOK_SLEEP_TIME_END="8:00"
# Webhook Key
WEBHOOK_NAME="Wework, Lark"
## WeWork(Tencent WeCom)
WEBHOOK_WEWORK_DEPLOY=""
WEBHOOK_WEWORK_DEV=""
## Lark(Feishu)
WEBHOOK_LARK_DEPLOY=""
WEBHOOK_LARK_DEPLOY_SECRET=""
WEBHOOK_LARK_DEV=""
WEBHOOK_LARK_DEV_SECRET=""
LARK_APP_ID=""
LARK_APP_SECRET=""
# Debug
GPU_MONITOR_AUTO_RESTART=True
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化