-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
40 lines (38 loc) · 817 Bytes
/
config.js
File metadata and controls
40 lines (38 loc) · 817 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
const milieu = require('milieu')
const config = milieu('api', {
env: 'DEV',
server: {
port: '9090',
maxResultsLimit: 1000
},
mongo: {
url: 'mongodb://localhost/findearth'
},
cors: {},
logger: {
console: {
level: 'debug',
timestamp: true,
handleExceptions: true,
humanReadableUnhandledException: true,
colorize: true
}
},
auth0: {
clientId: '',
clientSecret: '',
token: '',
domain: 'keepers.auth0.com',
callbackURL: '/auth/db-callback',
authURL: 'https://keepers.auth0.com/oauth/ro',
connections: { db: 'Username-Password-Authentication' },
scope: 'openid name email user_metadata'
},
aws: {
accessKeyId: '',
secretAccessKey: '',
region: '',
bucket: 'qa-findearth'
}
})
module.exports = config