Revert "Added pm2 environment file"

This reverts commit 7d693939
This commit is contained in:
henningxtro 2020-12-03 10:58:05 +01:00
parent 3e7020d60b
commit 1ef672cc23

View File

@ -1,27 +0,0 @@
module.exports = {
apps : [{
name: "Backend",
script: 'dist/index.js',
watch: '.',
env: {
"PORT": '3000',
"DB_HOST": 'localhost',
"DB_USER": 'betterzon_admin',
"DB_PASSWORD": 'FezcxEfXWH6sgJfZLfY9Cd5Fyu2NTwEM7i8j',
"DB_DATABASE": 'betterzon_dev'
},
}],
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': ''
}
}
};