forked from HNGM-HP/opencode-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (59 loc) · 3.81 KB
/
.env.example
File metadata and controls
68 lines (59 loc) · 3.81 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# ──────────────────────────────────────────────
# 管理面板配置
# ──────────────────────────────────────────────
ADMIN_PORT=4098
# ADMIN_PASSWORD 可选,首次访问 Web 管理面板时会提示设置密码
# ADMIN_PASSWORD=your_admin_password_here
# ──────────────────────────────────────────────
# 飞书配置
# ──────────────────────────────────────────────
FEISHU_ENABLED=true
FEISHU_APP_ID=your_app_id
FEISHU_APP_SECRET=your_app_secret
FEISHU_ENCRYPT_KEY=your_encrypt_key
FEISHU_VERIFICATION_TOKEN=your_verification_token
# ──────────────────────────────────────────────
# Discord 配置
# ──────────────────────────────────────────────
DISCORD_ENABLED=false
DISCORD_TOKEN=your_bot_token
DISCORD_CLIENT_ID=your_client_id
# ──────────────────────────────────────────────
# 企业微信配置
# ──────────────────────────────────────────────
WECOM_ENABLED=false
WECOM_BOT_ID=your_bot_id
WECOM_SECRET=your_secret
# ──────────────────────────────────────────────
# 个人微信配置
# 通过 Web 管理界面扫码登录,无需配置文件
# ──────────────────────────────────────────────
WEIXIN_ENABLED=false
# ──────────────────────────────────────────────
# Telegram 配置
# ──────────────────────────────────────────────
TELEGRAM_ENABLED=false
TELEGRAM_BOT_TOKEN=your_bot_token
# ──────────────────────────────────────────────
# QQ 配置
# ──────────────────────────────────────────────
QQ_ENABLED=false
QQ_PROTOCOL=onebot
QQ_ONEBOT_HTTP_URL=http://localhost:3000
QQ_ONEBOT_WS_URL=ws://localhost:3001
# ──────────────────────────────────────────────
# WhatsApp 配置
# ──────────────────────────────────────────────
WHATSAPP_ENABLED=false
WHATSAPP_MODE=personal
# ──────────────────────────────────────────────
# OpenCode 配置
# ──────────────────────────────────────────────
OPENCODE_HOST=localhost
OPENCODE_PORT=4096
OPENCODE_AUTO_START=true
OPENCODE_AUTO_START_CMD=opencode
# ──────────────────────────────────────────────
# 白名单配置
# ──────────────────────────────────────────────
ALLOWED_USERS=user_id_1,user_id_2