-
Notifications
You must be signed in to change notification settings - Fork 262
/
manager.yaml
73 lines (67 loc) · 1.64 KB
/
manager.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
# current server info used for server
server:
# grpc server configure
grpc:
# listen address
listen: 127.0.0.1
# listen port, manager will try to listen
# when this port is not available, manager will try next port
port:
start: 65003
end: 65003
# rest server configure
rest:
# stand address
addr: :8080
# front-end console resource path
# publicPath: /dist
# database info used for server
database:
# mysql configure
mysql:
user: dragonfly
password: dragonfly
host: dragonfly
port: 3306
dbname: manager
migrate: true
# tls:
# # client certificate file path
# cert: /etc/ssl/certs/cert.pem
# # client key file path
# key: /etc/ssl/private/key.pem
# # ca file path
# ca: /etc/ssl/certs/ca.pem
# # whether a client verifies the server's certificate chain and host name.
# insecureSkipVerify: true
# redis configure
redis:
password: dragonfly
host: dragonfly
port: 6379
db: 0
# manager server cache
# cache:
# # redis cache configure
# redis:
# # cache ttl configure
# ttl: 30s
# # local cache configure
# local:
# # lfu cache size
# size: 10000
# # cache ttl configure
# ttl: 30s
# enable prometheus metrics
# metrics:
# # metrics service address
# addr: ":8000"
# console shows log on console
console: false
# whether to enable debug level logger and enable pprof
verbose: false
# listen port for pprof, only valid when the verbose option is true
# default is -1. If it is 0, pprof will use a random port.
pprof-port: -1
# jaeger endpoint url, like: http://jaeger.dragonfly.svc:14268/api/traces
jaeger: ""