forked from BingZi-233/check-cx
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
27 lines (25 loc) · 988 Bytes
/
.env.example
File metadata and controls
27 lines (25 loc) · 988 Bytes
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
# Supabase 数据库配置
SUPABASE_URL=https://your-project.supabase.co
# Supabase 匿名访问Key
SUPABASE_PUBLISHABLE_OR_ANON_KEY=your-public-or-anon-key
# Service Role Key (服务端使用,绕过 RLS,切勿暴露到客户端)
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
# 数据库空间
NODE_ENV=dev
# 轮询间隔(秒)
CHECK_POLL_INTERVAL_SECONDS=60
# Vercel Cron / 外部调度调用的共享密钥
CRON_SECRET=replace-with-a-random-secret
# 节点身份(多节点部署时标识实例)
CHECK_NODE_ID=local
# 历史数据保留天数(范围 7-365)
HISTORY_RETENTION_DAYS=30
# 官方状态检查间隔
OFFICIAL_STATUS_CHECK_INTERVAL_SECONDS=60
# 最大请求并发数
CHECK_CONCURRENCY=8
# fishxcode 全局分组健康监控已迁移到后台「系统设置」的 site_settings 数据库配置。
# 以下变量仅作为兼容兜底,不建议新部署继续使用。
# NEWAPI_BASE_URL=https://your-newapi-domain
# NEWAPI_ACCESS_TOKEN=your-access-token
# NEWAPI_USER_ID=