forked from pixiu-panel/pixiu-panel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.yaml
87 lines (82 loc) · 2.22 KB
/
config.example.yaml
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
# 系统配置
system:
# 绑定域名,推送消息用
domain: "https://pixiu.lixh.ltd"
# 注册
register:
# 是否允许注册
enable: true
# 是否启用注册码
invitationCode: false
# 数据库配置
db:
type: mysql # 使用的数据库类型,可选 mysql | postgresql
host: mysql # 数据库地址(使用docker-compose启动可以不用改)
port: 3306 # 数据库端口
username: pixiu # 数据库用户名
password: pixiu # 数据库密码
database: pixiu # 数据库名
# Redis配置
redis:
host: redis # Redis地址(使用docker-compose启动可以不用改)
port: 6379 # Redis端口
password: mNhgeSk32fUf69C6
db: 0
# 青龙配置
ql:
host: http://10.0.0.52:5700
clientId: xxx
clientSecret: xxx
# BBK配置
bbk:
jdQr:
enable: true
host: http://bbk-jd-qr:81
# 下面两种还没实现
wechatQr:
enable: false
host: http://10.0.0.52:5702
sms:
enable: false
host: http://10.0.0.52:5703
# 通知配置
notify:
allowTitle:
- 东东农场日常任务
- 京东资产变动
- 京东价保
replace:
- title: 新东东农场任务
src: ":🌳"
dst: "\n🌳"
wechat:
# 微信HOOK,自行使用wxhelper搭建
enable: false
qrCode: xxx # 这儿填添加好友的二维码解码后的内容,解码可以在草料二维码解码:https://cli.im/deqr/other
# 接口请求地址
host: http://10.0.0.71:19088
# 手动设置回调地址(不写会默认取本机IP+服务端口组装,如果在容器内,可能会导致回调地址无法访问)
callback: http://10.11.0.2:1323/api/v1/notify/wechat
qq:
# QQ机器人,自行使用go-cqhttp搭建
enable: false
qrCode: xxx # 这儿填添加好友的二维码解码后的内容,解码可以在草料二维码解码:https://cli.im/deqr/other
host: http://10.0.0.52:2333
accessToken: xxx
ftqq:
# 方糖气球,又叫Server酱
enable: true
pushDeer:
# PushDeer
enable: true
host: # 自建服务器地址,为空则使用官方地址(https://api2.pushdeer.com/message/push)
pushPlus:
# PushPlus
enable: true
smtp:
# 邮件
enable: true
host: smtp.qq.com
ssl: true
email: xx
password: xx