ecosystem.config.js
module.exports = {
apps: [{
name: 'jill-website',
script: 'dist/server.js',
cwd: '/root/Projects/jill-website',
exec_mode: 'fork',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: 8201
}
}]
};