core.yaml
1.2 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
Name: Core
Host: 0.0.0.0
Port: 8081
Verbose: false
Migrate: true
Timeout: 30000
LogRequest: true # 记录详细请求日志
ContentSecurityCheck: true # 内容安全检查(调用微信接口)
Log:
#Mode: file
Encoding: plain
Level: debug # info
MaxSize: 1 # 2MB
TimeFormat: 2006-01-02 15:04:05
Rotation: size
MaxContentLength: 10240
SystemAuth:
AccessSecret: digital-platform
AccessExpire: 360000
MiniAuth:
AccessSecret: discuss-secret
AccessExpire: 360000
Redis:
Host: 127.0.0.1:6379
Type: node
Pass:
DB:
DataSource: host=114.55.200.59 user=postgres password=eagle1010 dbname=sumifcc-discuss-dev port=31543 sslmode=disable TimeZone=Asia/Shanghai
ApiAuth:
Name: ApiAuth
Host: http://digital-platform-dev.fjmaimaimai.com
Timeout: 0s
Wechat:
AppID: wxae5b305849343ec8
AppSecret: f584adb68f7d784425b60e1ebb2ffd4b
QrcodeEnv: trial
TTS:
ReginID: cn-shanghai #ap-southeast-1
AccessKeyID: LTAI4Fz1LUBW2fXp6QWaJHRS
AccessKeySecret: aLZXwK8pgrs10Ws03qcN7NsrSXFVsg
Domain: nls-meta.cn-shanghai.aliyuncs.com #nlsmeta.cn-shenzhen.aliyuncs.com #
AppKey: hRAovF4pNBhKJdFG
Voice: xiaoyun
Volume: 50
SpeechRate: 0
PitchRate: 0