-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
61 lines (54 loc) · 1 KB
/
config.yml
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
system:
name: jsonwizard
port: 9379
db-type: mysql
oss-type: local
use-multipoint: false
use-redis: false
iplimit-count: 15000
iplimit-time: 3600
encrypt-key: "jsonwizard@lsy88"
mysql:
path: 127.0.0.1
port: "3306"
config: charset=utf8mb4&parseTime=True&loc=Local
db-name: jsonwizard
username: root
password: "716523"
max-idle-conns: 10
max-open-conns: 100
log-mode: error
log-zap: false
mongodb:
username: admin
password: ""
path: 127.0.0.1
port: "27017"
database: jsonwizard
log-zap: false
redis:
db: 0
addr: 127.0.0.1:6379
password: ""
zap:
level: info
prefix: '[github.com/lsy88/jsonwizard]'
format: console
director: log
encode-level: LowercaseColorLevelEncoder
stacktrace-key: stacktrace
max-age: 0
show-line: true
log-in-console: true
local:
path: uploads/file
store-path: uploads/file
captcha:
key-long: 6
img-width: 240
img-height: 80
jwt:
signing-key: 'jsonwizard'
expires-time: 7d
buffer-time: 1d
Issuer: "jsonwizard"