审查视图

cmd/discuss/api/etc/core.yaml 874 字节
yangfu authored
1 2 3
Name: discuss
Host: 0.0.0.0
Port: 8081
yangfu authored
4
Verbose: false
yangfu authored
5
Migrate: true
tangxvhui authored
6
Timeout: 30000
tangxvhui authored
7 8
# CertFile: ./key/fjmaimaimai.com_bundle.crt
# KeyFile: ./key/fjmaimaimai.com.key
yangfu authored
9 10
LogRequest: true # 记录详细请求日志
yangfu authored
11
Log:
tangxvhui authored
12
  # Mode: file
yangfu authored
13 14 15
  Encoding: plain
  Level: debug # info
  MaxSize: 1 # 2MB
yangfu authored
16
  TimeFormat: 2006-01-02 15:04:05
yangfu authored
17
  Rotation: size
yangfu authored
18
  MaxContentLength: 10240
yangfu authored
19
yangfu authored
20
SystemAuth:
yangfu authored
21
  AccessSecret: digital-platform
yangfu authored
22 23 24 25 26
  AccessExpire: 360000

MiniAuth:
  AccessSecret: discuss-secret
  AccessExpire: 360000
yangfu authored
27 28

Redis:
tangxvhui authored
29
  Host: 127.0.0.1:6379
yangfu authored
30 31 32
  Type: node
  Pass:
DB:
tangxvhui authored
33
  DataSource: host=114.55.200.59 user=postgres password=eagle1010 dbname=sumifcc-discuss-dev port=31543 sslmode=disable TimeZone=Asia/Shanghai
yangfu authored
34 35 36 37

ApiAuth:
  Name: ApiAuth
  Host: http://digital-platform-dev.fjmaimaimai.com
tangxvhui authored
38
  Timeout: 0s
yangfu authored
39 40 41

Wechat:
  AppID: wxae5b305849343ec8
tangxvhui authored
42
  AppSecret: f584adb68f7d784425b60e1ebb2ffd4b