-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_dev.yaml
81 lines (65 loc) · 1.28 KB
/
config_dev.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
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
system:
name: 'go-layout'
version: 'v1.0.0'
port: ':8888'
db-type: 'mysql'
gin-mode: 'test' #debug、release、test
rate: 2
jwt:
signing-key: 'jwtSecret'
expires-time: 604800
buffer-time: 86400
zap:
level: 'info'
format: 'json'
prefix: ''
director: 'log'
link-name: 'latest_log'
show-line: true
encode-level: 'LowercaseLevelEncoder'
stacktrace-key: 'stacktrace'
log-in-console: false
redis:
db: 0
addr: '172.21.0.2:6379'
password: '123456'
email:
to: '[email protected]'
port: 25
from: '[email protected]'
host: 'smtp.qq.com'
is-ssl: false
secret: 'bvewllmttezxjehi'
nickname: 'test'
casbin:
model-path: './rbac_model.conf'
jaeger:
name: 'go-layout'
address: '172.21.0.2:6831'
captcha:
key-long: 6
img-width: 240
img-height: 80
mysql:
path: '172.21.0.2:3306'
config: 'charset=utf8mb4&parseTime=True&loc=Local'
db-name: 'go-layout'
username: 'root'
password: '123456'
max-idle-conns: 10
max-open-conns: 100
log-mode: false
log-zap: true
kafka:
address: '172.21.0.2:9092'
topics: 'warn'
es:
path: 'http://172.21.0.2:9200'
username: 'elastic'
password: '1qaz!QAZ'
consul:
rpc-layout:
address: '172.21.0.2:8500'
scheme: 'http'
healthCheck: false
endpoint: 'discovery://default/rpc-layout'