Files
ssh-portfolio/ecosystem.config.cjs
T

19 lines
438 B
JavaScript

module.exports = {
apps: [{
name: 'ssh-portfolio',
script: './src/server.js',
cwd: __dirname,
interpreter: 'node',
watch: ['src'],
watch_delay: 1000,
ignore_watch: ['node_modules', 'data', 'logs', 'test', '*.sqlite*'],
autorestart: true,
time: true,
out_file: './logs/ssh-portfolio.out.log',
error_file: './logs/ssh-portfolio.error.log',
env: {
NODE_ENV: 'production'
}
}]
};