files moved
This commit is contained in:
30
_archive/ecosystem.config.js
Normal file
30
_archive/ecosystem.config.js
Normal 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': ''
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user