-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.js
46 lines (42 loc) · 954 Bytes
/
settings.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
import path from 'path';
import dotenv from 'dotenv';
// path relative to __dirname
const pathname = path.resolve('./.env');
dotenv.config({
path: pathname,
});
const settings = {
postmark: {
apiKey: process.env.postmark_api_key,
},
mandril: {
apiKey: process.env.mandril_api_key,
},
jex: {
user: process.env.jex_username,
password: process.env.jex_password,
server: process.env.jex_server,
database: process.env.jex_database,
options: {
useUTC: false,
enableArithAbort: true,
encrypt: true,
trustServerCertificate: true,
},
},
ldap: {
url: process.env.ldap_url,
base: process.env.ldap_base,
dn: process.env.ldap_dn,
password: process.env.ldap_password,
},
log: {
to: process.env.log_to,
from: process.env.log_from,
},
salesforce: {
email: process.env.salesforce_email,
},
mailClient: process.env.mail_client,
};
export default settings;