forked from FabricLabs/soundtrack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
26 lines (26 loc) · 771 Bytes
/
config.js
File metadata and controls
26 lines (26 loc) · 771 Bytes
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
module.exports = {
app: {
safe: process.env.SOUNDTRACK_APP_SAFE || false
, host: process.env.SOUNDTRACK_APP_HOST || 'soundtrack.io'
, port: process.env.SOUNDTRACK_APP_PORT || 13000
},
database: {
name: process.env.SOUNDTRACK_DB_NAME || 'soundtrack'
, host: 'localhost'
},
sessions: {
key: 'put yourself a fancy little key here'
},
connection: {
clientTimeout: 2 * 60 * 1000
, checkInterval: 30 * 1000
},
lastfm: {
key: process.env.SOUNDTRACK_LASTFM_KEY || 'key here'
, secret: process.env.SOUNDTRACK_LASTFM_SECRET || 'secret here'
},
soundcloud: {
id: process.env.SOUNDTRACK_SOUNDCLOUD_ID || 'id here'
, secret: process.env.SOUNDTRACK_SOUNDCLOUD_SECRET || 'secret here'
}
}