-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.example.json
60 lines (60 loc) · 1.15 KB
/
config.example.json
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
{
"rest": {
"port": 8080
},
"migration": {
"postgres": {
"dir": "file://db/migrations/postgres",
"search_path": "public"
}
},
"database": {
"postgres": {
"write": {
"user": "postgres",
"pass": "",
"host": "127.0.0.1",
"port": 5432,
"db": "postgres",
"ssl": {
"mode": "disable"
}
}
},
"mysql": {
"write": "user:password@tcp(host:port)/database_name"
},
"redis": {
"host": {
"local": "localhost:6379"
},
"password": "",
"db": 1
},
"mongo": {
"uri": "mongodb://myUserAdmin:[email protected]:27017",
"db": "basesvc",
"collection": "basesvc"
}
},
"kafka": {
"host": "localhost:9092",
"group_id": "local.group",
"security_protocol": "SASL_SSL",
"sasl_mechanisms": "PLAIN",
"sasl_username": "{{ CLUSTER_API_KEY }}",
"sasl_password": "{{ CLUSTER_API_SECRET }}",
"topics": [
"basesvc"
]
},
"newrelic": {
"id": "base-svc",
"key": "",
"debug": false,
"slowquery": {
"enabled": true,
"threshold": 10
}
}
}