DBP remote changes (suspended log in IR, updated packages)

This commit is contained in:
Dobromir Popov
2020-09-12 22:15:33 +03:00
parent fd499560b1
commit f871b492a4
4 changed files with 1259 additions and 18 deletions

23
ecosystem.config.js Normal file
View File

@@ -0,0 +1,23 @@
module.exports = {
apps : [{
script: 'dht.js',
watch: ['.'],
ignore_watch : ["dht.log"],
},{
script: '../node/corona.js'
}
],
deploy : {
production : {
user : 'SSH_USERNAME',
host : 'SSH_HOSTMACHINE',
ref : 'origin/master',
repo : 'GIT_REPOSITORY',
path : 'DESTINATION_PATH',
'pre-deploy-local': '',
'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production',
'pre-setup': ''
}
}
};