-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.js-sample
More file actions
200 lines (161 loc) · 5.07 KB
/
config.js-sample
File metadata and controls
200 lines (161 loc) · 5.07 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
var config = module.exports = {
// What mode do you want to run?
// - normal:
// Nothing is outputted to the console.
// Logs are stored in logs/debug.log
// NO debugging code is logged.
// - debug:
// Logs are displayed in the console as well as logged to file logs/debug.log
// Debug logs are store and displayed as well.
"runningMode": "normal",
// Server Settings.
"host": "0.0.0.0",
"port": 8024,
"webRoot": "",
// Allow UpsBoard check for new updates on startup and every 12 hours.
"checkForUpdates": true,
// Optional, If you want to stop the page requesting updates.
"debugStopUpdating": false,
// Optional, If you want to log the http requests.
"logHttpRequests": true,
// Required, Pick a username and password, On first run the password will get encrypted.
"username": "admin",
"userPassword": "password",
// Optional, Either url, path, or email address(Gravatar) for user avatar.
"userAvatar": "",
// Optional, If you want to include Google Analytics
"googleAnalyticsId": "",
"googleAnalyticsUrl": "",
"drives": {
"Label":{
"remote": false,
"location": "/",
// Optional, If your drive is on a machine running something other than linux.
// Support Operating Systems:
// mac & linux
"os": "linux",
// Required, if this is a remote drive.
"host": "",
"port": 22,
"username": "",
// One of the following are required.
// "password": "",
//// ssh-agent for linux
// "sshAgent": true,
//// Public/Private Key
// "privateKey": "", // Absolute location of key.
// "passphrase": "", // If public key, then leave empty.
// Optional, Allow you to specify a total drive space.
// Format:
// (Size)(Unit)
// Size: Any whole number.
// Unit: Can be any of the following:
// B, KB, MB, GB, TB, PB, EB
// Example:
// total: "5TB",
total: "",
// Optional, If you want to give the drive a different icon.
icon: ""
}
},
"memory": {
"Label": {
// This allows you to display on bottom bar, when you have multiple memory monitors.
"default": true,
// Optional, If your getting the memory of a machine running something other than linux.
// Support Operating Systems:
// linux
"os": "linux",
// Required, if this is a remote server.
"host": "",
"port": 22,
"username": "",
// One of the following are required.
// "password": "",
//// ssh-agent for linux
// "sshAgent": true,
//// Public/Private Key
// "privateKey": "", // Absolute location of key.
// "passphrase": "", // If public key, then leave empty.
}
},
"bandwidthServers": {
"Label": {
// This allows you to display on bottom bar, when you have multiple bandwidth monitors.
"default": true,
// [Download, Upload]
"maxSpeed": [100, 100],
"remote": false,
// Optional, Allow you specify if you have a bandwidth cap/limit.
// Format: Download,Upload:10TB = If you bandwidth includes both upload and download, 10 terabytes is the cap.
// Example: Upload:20TB = Only have a cap on your upload of 20 terabytes.
// Download:20TB = Only have a cap on your download of 20 terabytes.
// Download,Upload:250GB = Your whole connection is capped at 250 gigabytes.
"cap": "",
// Optional, Select the interface to to watch
"interface": "eth0",
// Optional, Select the path of vnStat, if not at the default location.
"vnstatPath": "/path/to/vnstat",
// Optional, Allows you specify the directory of the vnstat, if it is not at the default location.
"vnstatDBDirectory": "/path/to/database/directory",
// Required, if this is a remote server.
"host": "",
"port": 22,
"username": "",
// One of the following are required.
// "password": "",
//// ssh-agent for linux
// "sshAgent": true,
//// Public/Private Key
// "privateKey": "", // Absolute location of key.
// "passphrase": "", // If public key, then leave empty.
}
},
"services": {
"Service Name": {
"host": "",
"port": 80,
// Optional, This allows you to put a link on the button.
"url": "",
// Optional, Require the user to be logged in before they can see the link
"loginRequired": false
}
},
"sabnzbd": {
// Set to True if you want to disable sabnzbd from upsboard.
"disable": false,
// Optional, Allow user to logged out and use sabnzbd
"anyoneCanUse": false,
"protocol": "http://",
"host": "",
"port": 8080,
"webRoot": "",
"apiKey": ""
},
"sickbeard": {
// Set to True if you want to disable sickbeard from upsboard.
"disable": false,
"protocol": "http://",
"host": "",
"port": 8081,
"webRoot": "",
"apiKey": ""
},
"plex": {
"protocol": "http://",
"host": "",
"port": 32400,
"username": "",
"password": "",
"recentTVSection": 2,
"recentMovieSection": 1
},
// Optional, Forecast.io Api
"weather": {
"apiKey": "",
"lat": "",
"long": "",
"useFahrenheit": true
}
};
config.version = 2;