-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
31 lines (30 loc) · 779 Bytes
/
config.js
File metadata and controls
31 lines (30 loc) · 779 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
const sessionKey = 'habla_key';
const sessionSecret ='habla_secret';
module.exports = {
sessionKey: sessionKey,
sessionSecret: sessionSecret,
env: (process.env.NODE_ENV || 'development').trim(),
mongodb: {
test: "mongodb://127.0.0.1:27017/habla_test",
development: "mongodb://127.0.0.1:27017/habla"
},
mongoose : {
useNewUrlParser: true,
useUnifiedTopology: true,
useCreateIndex: true,
useFindAndModify: false
},
forever: {
max: 10,
silent: true,
killTree: true,
logFile: 'logs/forever.log',
outFile: 'logs/app.log',
errFile: 'logs/error.log'
},
redis: {
host: 'localhost',
port: 6379
},
cache: {maxAge: 3600000}
};