-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_example.json
40 lines (36 loc) · 2.49 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
{
"db": {
"dbHost": "localhost", "_comment": "to use another mysql port set the host to '127.0.0.1:3306' ",
"dbUsername": "DB-USER",
"dbPassword": "DB-PASSWORD"
},
"database": {
"mapadroid": "mapadroid",
"stats": "device_stats"
},
"py-option": {
"timeout": 10, "_comment": "in minutes, Device is offline when ProtoDate older then this value",
"interval": 60, "_comment": "in seconds, Fetching intervall for status",
"cleanup": 14, "_comment": "in days, Deleting entries from destdb older than configured days",
"dbPort": 3306, "_comment": "mysql port to use, default is 3306"
},
"option": {
"url": "https",
"beep": "beep.mp3", "_comment": "mp3 sound file",
"order": "origin", "_comment": "order the devices on stats [id,origin]",
"breite": "100%", "_comment": "table width in % or px",
"size": "22px", "_comment": "font-size in px or pt | not work on mobil, only for desktop",
"theme": "", "_comment": "default value is empty, for dark theme set it to dark, you can configurate the colors.php",
"rows": 32, "_comment": "split to two tables when rows (devices) greater than",
"record": 0, "_comment": "record of roundtimes for mon_mitm areas",
"route": 0, "_comment": "warn if routes are too long, route >= 100 red && route >=65 yellow",
"reload": 1, "_comment": "reload page in seconds, for live data view use 1 second",
"wartime": 180, "_comment": "warning time in seconds (display)",
"timeout": 10, "_comment": "offline timeout in minutes, set device offline and give notify",
"notify": 1200, "_comment": "repeat notification in seconds",
"pos": 1, "_comment": "Route Pos show on mobile Version",
"count": 0, "_comment": "counter of notification in mobile page",
"instance_id": 1, "_comment": "instance ID of Madmin",
"restartCount": false, "_comment": "display restartCounter on Route; Route(count)"
}
}