ecosystem.config.js
module.exports = {
apps: [
{
name: 'iwascute',
cwd: '/root/Projects/iwascute',
script: 'node_modules/.bin/next',
args: 'start -p 7450',
env: {
NODE_ENV: 'production',
PORT: 7450,
},
},
],
}