-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.master.json
62 lines (60 loc) · 1.21 KB
/
config.master.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
61
62
{
"host": "localhost",
"port": 8000,
"password": "01020304",
"interval": 30,
"slaves": [
{
"id": "local",
"name": "Localhost (test)",
"host": "127.0.0.1",
"port": 6001,
"token": "SSMGRTEST",
"portMax": 20500,
"portMin": 20000
}
],
"groups": [
{
"id": "default",
"name": "Free",
"slaves": [
"local"
],
"limit": {
"flow": 500,
"time": 180
}
}
],
"email": {
"host": "smtp.mailgun.org",
"port": 25,
"username": "postmaster@sandbox06c58b6b9aa1451db3000d078cbee529.mailgun.org",
"password": "a49c133b1e7f06518f69e9edb2ffaf16"
},
"database": {
"dialect": "sqlite3",
"args": "ssmgr.db",
"enable_log": true
},
"// replace 'database' field with the following object to test on mysql": "",
"__database": {
"dialect": "mysql",
"args": "root:test_pass@tcp(localhost:3306)/ssmgr?charset=utf8&parseTime=True&loc=Local",
"enable_log": true
},
"// slack is optional": "",
"slack": {
"channel": "#SLACK_CHANNEL",
"token": "TEST_SLACK_TOKEN",
"levels": [
"panic",
"fatal",
"error",
"warn",
"info",
"debug"
]
}
}