-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.yaml
80 lines (69 loc) · 1.53 KB
/
config.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
debug: true
server:
host: 127.0.0.1
port: 9001
readTimeout: 60
writeTimeout: 60
idleTimeout: 180
sentry:
enable: false
dsn: ""
superAppCode: "bk_iam,iam"
storage:
path: "./"
index:
elasticsearch:
indexName: iam_policy
addresses:
- http://localhost:9200
username: ""
password: ""
maxRetries: 3
backend:
addr: "http://127.0.0.1:9000"
authorization:
appCode: "bk_iam"
appSecret: "a59ddb37-94ae-4d7a-b6b8-f3c255fff041"
redis:
id: "mq"
type: "standalone"
addr: "127.0.0.1:6379"
password: ""
db: 0
poolSize: 160
dialTimeout: 3
readTimeout: 1
writeTimeout: 1
sentinelAddr: ""
masterName: "mymaster"
sentinelPassword: "" # TODO: waiting for the replace var
redisKeys:
- id: "delete_queue_key"
key: "bk_iam:deleted_policy"
logger:
system:
level: debug
writer: os
settings: {name: stdout}
sync:
level: debug
writer: os
settings: {name: stdout}
# level: info
# writer: file
# settings: {name: iam_search_engine_sync.log, size: 100, backups: 10, age: 7, path: ./}
es:
level: debug
writer: os
settings: {name: stdout}
# level: info
# writer: file
# settings: {name: iam_search_engine_es.log, size: 100, backups: 10, age: 7, path: ./}
api:
level: info
writer: file
settings: {name: iam_search_engine_api.log, size: 100, backups: 10, age: 7, path: ./}
component:
level: info
writer: file
settings: {name: iam_search_engine_component.log, size: 100, backups: 10, age: 7, path: ./}