-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.example
executable file
·81 lines (81 loc) · 1.44 KB
/
config.yaml.example
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
aliyun-oss:
endpoint: Endpoint
access-key-id: AccessKeyId
access-key-secret: AccessKeySecret
bucket-name: BucketName
bucket-url: BucketUrl
base-path: BasePath
captcha:
key-long: 6
img-width: 240
img-height: 80
casbin:
model-path: ./resource/rbac_model.conf
email:
to: xxx@qq.com
port: 465
from: xxx@163.com
host: smtp.163.com
is-ssl: true
secret: xxx
nickname: noReply
excel:
dir: ./resource/excel/
jwt:
signing-key: Keys
expires-time: 604800
buffer-time: 86400
local:
path: uploads/file
mysql:
path: 127.0.0.1:3306
config: charset=utf8mb4&parseTime=True&loc=Local
db-name:
username: root
password: root
max-idle-conns: 0
max-open-conns: 0
log-mode: ""
log-zap: false
qiniu:
zone: ZoneHuaDong
bucket: ""
img-path: ""
use-https: false
access-key: ""
secret-key: ""
use-cdn-domains: false
redis:
db: 0
addr: 127.0.0.1:6379
password: ""
system:
env: public
addr: 8888
db-type: mysql
oss-type: local
use-multipoint: false
tencent-cos:
bucket: ""
region: ap-shanghai
secret-id: ""
secret-key: ""
base-url: ""
path-prefix: ""
timer:
start: true
spec: '@daily'
detail:
- tableName: sys_operation_records
compareField: created_at
interval: 2160h
zap:
level: info
format: console
prefix: '[GIN-STARTER]'
director: log
link-name: latest_log
showLine: false
encode-level: LowercaseColorLevelEncoder
stacktrace-key: stacktrace
log-in-console: true