-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 1.06 KB
/
.env.example
File metadata and controls
30 lines (23 loc) · 1.06 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
# MongoDB 连接 URI
# 请确保 MongoDB 实例已启动并配置好用户认证
# 示例格式: mongodb://username:password@localhost:27017/database
MONGODB_URI=<你的 MongoDB 连接 URI>
# JSON Web Token (JWT) 密钥
# 用于用户认证和 API 安全,请使用一个长且随机的字符串
JWT_SECRET=<你的 JWT 密钥>
# 自定义频道或标识符
CHANNEL=your_channel_name
# HTTP 代理 (可选)
# 如果你的网络环境需要代理才能访问外部服务,请取消注释并设置
# HTTP_PROXY=http://127.0.0.1:7897
TELEGRAM_HOST=t.me
# GitHub Personal Access Token
# 用于访问 GitHub API,请在 GitHub > Settings > Developer settings > Personal access tokens 中生成
GITHUB_TOKEN=<你的 GitHub Personal Access Token>
# 后台管理员密码
# 用于访问受保护的管理功能
SECRET_ADMIN_PASSWORD=<设置一个强的管理员密码>
# 数据接收服务 (Sink) 配置
# 如果你使用自定义的数据统计或链接缩短服务,请配置以下选项
SINK_PUBLIC_URL=<你的 Sink 服务公开访问 URL>
SINK_API_KEY=<你的 Sink 服务 API 密钥>