files moved

This commit is contained in:
Dobromir Popov
2023-05-15 12:50:12 +03:00
parent 53a8dc8cdf
commit 2dab7fe31c
5 changed files with 7 additions and 31 deletions

View File

@@ -0,0 +1,30 @@
module.exports = {
apps : [{
script: 'dht.js',
watch: ['.'],
ignore_watch : ["dht.log"],
env: {
NODE_ENV: "development"
},
env_test: {
NODE_ENV: "test",
},
env_production: {
NODE_ENV: "production",
}
}
],
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': ''
}
}
};