Initial commit: working SD Park Pass Map app with deploy scripts and .gitignore
This commit is contained in:
20
ecosystem.config.js
Normal file
20
ecosystem.config.js
Normal file
@ -0,0 +1,20 @@
|
||||
module.exports = {
|
||||
apps: [{
|
||||
name: 'sd-park-pass-locator',
|
||||
script: 'npm',
|
||||
args: 'start',
|
||||
cwd: '/opt/sd-park-pass-locator',
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 3000
|
||||
},
|
||||
error_file: '/var/log/pm2/sd-park-pass-locator-error.log',
|
||||
out_file: '/var/log/pm2/sd-park-pass-locator-out.log',
|
||||
log_file: '/var/log/pm2/sd-park-pass-locator-combined.log',
|
||||
time: true
|
||||
}]
|
||||
};
|
||||
Reference in New Issue
Block a user