2017-08-15 08:03:06 +00:00
|
|
|
'use strict';
|
|
|
|
|
2016-05-27 17:57:48 +00:00
|
|
|
module.exports = {
|
2016-06-07 12:56:55 +00:00
|
|
|
|
|
|
|
log: {
|
|
|
|
level: 'silly'
|
|
|
|
},
|
|
|
|
|
2016-05-27 17:57:48 +00:00
|
|
|
server: {
|
|
|
|
port: process.env.PORT || 8888,
|
2016-06-10 17:42:00 +00:00
|
|
|
httpsUpgrade: process.env.HTTPS_UPGRADE,
|
|
|
|
httpsKeyPin: process.env.HTTPS_KEY_PIN,
|
|
|
|
httpsKeyPinBackup: process.env.HTTPS_KEY_PIN_BACKUP
|
2016-05-27 17:57:48 +00:00
|
|
|
},
|
2016-06-07 12:56:55 +00:00
|
|
|
|
|
|
|
mongo: {
|
|
|
|
uri: process.env.MONGO_URI,
|
|
|
|
user: process.env.MONGO_USER,
|
|
|
|
pass: process.env.MONGO_PASS
|
|
|
|
},
|
|
|
|
|
|
|
|
email: {
|
|
|
|
host: process.env.SMTP_HOST,
|
|
|
|
port: process.env.SMTP_PORT,
|
|
|
|
tls: process.env.SMTP_TLS,
|
|
|
|
starttls: process.env.SMTP_STARTTLS,
|
|
|
|
pgp: process.env.SMTP_PGP,
|
|
|
|
auth: {
|
|
|
|
user: process.env.SMTP_USER,
|
|
|
|
pass: process.env.SMTP_PASS
|
|
|
|
},
|
|
|
|
sender: {
|
|
|
|
name: process.env.SENDER_NAME,
|
|
|
|
email: process.env.SENDER_EMAIL
|
|
|
|
}
|
2016-05-27 17:57:48 +00:00
|
|
|
}
|
2016-06-07 12:56:55 +00:00
|
|
|
|
2017-08-15 08:03:06 +00:00
|
|
|
};
|