-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
24 lines (24 loc) · 1.04 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export default {
// WebDAV server port
port: parseInt(process.env.PORT || 8080),
// WebDAV server username
user: process.env.USER,
// WebDAV server password
pass: process.env.PASS,
// The debrid service to use
debridId: process.env.DEBRID_ID || 'debridlink',
// Your debrid api key
debridApiKey: process.env.DEBRID_API_KEY || '',
// Send your IP to debrid
debridIp: process.env.DEBRID_IP || '',
// Plex url to update your library when change are detected: http://host
plexUrl: process.env.PLEX_URL || '',
// Plex token to update your library when change are detected
plexToken: process.env.PLEX_TOKEN || '',
// Data folder for cache database ... Must be persistent in production
dataFolder: process.env.DATA_FOLDER || '/tmp',
// Partials scan from debrid API, only add recent detected files
checkNewFilesInterval: Math.max(15, process.env.CHECK_NEW_FILES_INTERVAL || 30),
// Full scan from debrid API, sync all files (deleted / added)
checkAllFilesInterval: Math.max(60, process.env.CHECK_ALL_FILES_INTERVAL || 900)
}