forked from yibaiba/hideck
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
93 lines (82 loc) · 2.57 KB
/
Copy pathconfig.example.yaml
File metadata and controls
93 lines (82 loc) · 2.57 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
server:
debug: false
port: 7575
# 使用 Nginx/Caddy 等外部 HTTPS 反向代理时保持 false。
https_enabled: false
https_port: 7576
webrtc_udp_address: ":7580"
# 服务器位于 NAT 后时填写直连本机的域名或公网 IP,并映射公网 7580/UDP。
webrtc_public_host: ""
tls_data_dir: data/tls
# tls_cert_file 与 tls_key_file 同时设置时覆盖自动本地 CA 证书。
tls_cert_file: ""
tls_key_file: ""
# 跨 NAT 时显式配置,例如 ["stun:stun.example.com:3478"]。
ice_servers: []
sms_rate_limit_disabled: false
system:
# 仅 OpenWrt 使用:把已拨号的数据网卡动态映射到 netifd,其他系统必须保持 false。
openwrt_dynamic_interfaces: false
web:
username: admin
# 首次登录后请在控制台修改;保存时会自动替换为 bcrypt 哈希。
# 若使用 PROXY_WEB_PASSWORD 注入,需在部署环境中修改,控制台不会覆盖环境变量。
password: admin
devices: []
# PC/SC 读卡器示例(Linux 需要 pcscd 与 libpcsclite.so.1):
# - id: reader1
# name: USB SIM reader
# device_backend: pcsc
# esim_transport: pcsc
# pcsc_reader_name: Example Reader 00 00
# pcsc_usb_path: 1-2
# sim_pin_env: HIDECK_SIM_PIN_READER1 # 只保存环境变量名,不要填写 PIN 明文
proxy:
instances: []
vowifi:
enabled: false
webhook:
enabled: false
# Telegram 机器人通过 @BotFather 创建,不使用扫码注册。
# admin_id 是允许执行命令的 Telegram 数字用户 ID;chat_id 留 0 时,首次授权私聊会自动绑定。
# 自动绑定目标保存在同目录 notification-state.json。不要提交包含真实 Bot Token 的配置文件。
telegram:
enabled: false
bot_token: ""
admin_id: 0
chat_id: 0
recording_mode: voice
base_url: ""
proxy: ""
# QQ Bot 可在设置页扫码注册,也可手工填写以下字段。
qq:
enabled: false
app_id: ""
app_secret: ""
group_ids: ""
direct_ids: ""
# 个人微信使用 iLink 扫码;登录 Token 和会话绑定保存在同目录 notification-state.json。
weixin:
enabled: false
base_url: https://ilinkai.weixin.qq.com
cdn_base_url: https://novac2c.cdn.weixin.qq.com/c2c
allowed_user_ids: []
allowed_group_ids: []
# 企业微信长连接机器人,与下方 Webhook 通知渠道相互独立。
wecom_bot:
enabled: false
bot_id: ""
secret: ""
websocket_url: wss://openws.work.weixin.qq.com
allowed_user_ids: []
allowed_group_ids: []
wecom:
enabled: false
urls: []
payload_template: |-
{
"msgtype": "text",
"text": {
"content": {{message}}
}
}