forked from jedireza/drywall
-
Notifications
You must be signed in to change notification settings - Fork 70
/
config.example.js
54 lines (53 loc) · 1.51 KB
/
config.example.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
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
'use strict';
exports.hostname = process.env.hostname || 'localhost';
exports.port = process.env.PORT || 3000;
exports.mongodb = {
uri: process.env.MONGOLAB_URI || process.env.MONGOHQ_URL || '{{MONGO_URI}}'
};
exports.companyName = 'Arthur Kao';
exports.projectName = 'Angular Drywall';
exports.systemEmail = '{{ADMIN_EMAIL}}';
exports.cryptoKey = 'k3yb0ardc4t';
exports.loginAttempts = {
forIp: 50,
forIpAndUser: 7,
logExpiration: '20m'
};
exports.requireAccountVerification = false;
exports.smtp = {
from: {
name: process.env.SMTP_FROM_NAME || exports.projectName +' Website',
address: process.env.SMTP_FROM_ADDRESS || '{{ADMIN_EMAIL}}'
},
credentials: {
user: process.env.SMTP_USERNAME || '{{SMTP_EMAIL}}',
password: process.env.SMTP_PASSWORD || '{{SMTP_PASSWORD}}',
host: process.env.SMTP_HOST || '{{SMTP_HOST}}',
ssl: true
}
};
exports.oauth = {
twitter: {
// Not yet implemented
key: process.env.TWITTER_OAUTH_KEY || '',
secret: process.env.TWITTER_OAUTH_SECRET || ''
},
facebook: {
key: process.env.FACEBOOK_OAUTH_KEY || '',
secret: process.env.FACEBOOK_OAUTH_SECRET || ''
},
github: {
// Not yet implemented
key: process.env.GITHUB_OAUTH_KEY || '',
secret: process.env.GITHUB_OAUTH_SECRET || ''
},
google: {
key: process.env.GOOGLE_OAUTH_KEY || '',
secret: process.env.GOOGLE_OAUTH_SECRET || ''
},
tumblr: {
// Not yet implemented
key: process.env.TUMBLR_OAUTH_KEY || '',
secret: process.env.TUMBLR_OAUTH_SECRET || ''
}
};