Moved files to config folders, and updated pm2 command

This commit is contained in:
Kasper Rynning-Tønnesen
2017-10-17 14:12:49 +02:00
parent c7816f5d15
commit 70360f3760
9 changed files with 17 additions and 30 deletions

View File

@@ -0,0 +1,7 @@
var cert = {
privateKey: 'XX',
certificate: 'XX',
ca: 'XX'
}
module.exports = cert;

View File

@@ -0,0 +1,15 @@
var mail_config = {
port: 587,
host: 'smtp.example.com',
auth: {
user: 'ex@amp.le',
pass: 'example'
},
secure: true,
authMethod: 'PLAIN',
tls: {
ciphers:'SSLv3'
}
};
module.exports = mail_config;

View File

@@ -0,0 +1,5 @@
var mongo_config = {
config: 'mydb'
};
module.exports = mongo_config;