-
Notifications
You must be signed in to change notification settings - Fork 10
/
conf.yaml
51 lines (45 loc) · 1.25 KB
/
conf.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
email: 'kwf2030@163.com'
server:
host: '0.0.0.0'
port: 6200
# HTTPS证书和私钥
#cert: '/etc/letsencrypt/live/your.domain/fullchain.pem'
#key: '/etc/letsencrypt/live/your.domain/privkey.pem'
user: 'admin'
password: 'admin'
# hiprice-web的地址,如果要在手机或其他设备访问,需要修改,
# 如果是用CDN替代hiprice-web,那么此处就是CDN的地址
web: 'http://localhost:6100'
# 下线短信通知手机号,使用阿里云的消息服务
mms:
# 0:禁用,1:启用
enabled: 0
#endpoint_host: 'https://xx.aliyuncs.com'
#endpoint_path: '/topics/sms.topic-cn-hangzhou/messages'
#sign: ''
#template_code: ''
#token: ''
#tel: ''
log:
dir: 'log'
level: 'info'
beanstalk:
host: 'beanstalk'
port: 11300
# 取任务的队列(dispatcher提交的结果)
reserve_tube: 'msg_send'
# 取任务的超时时间(秒)
reserve_timeout: 0
database:
host: 'mariadb'
port: 3306
db: 'hiprice'
user: 'root'
password: 'root'
task:
# 每次任务完成后距离下次任务轮询间隔(分钟)
polling_interval: 2
# 连续不间断的发送消息的最大数
max_send: 60
# 如果消息数超过最大值,超过部分等待发送的延迟时间(秒)
max_send_delay: 30