← back to Patty

ecosystem.config.js

16 lines

module.exports = {
  apps: [{
    name: 'patty-petitions',
    script: 'node_modules/.bin/next',
    args: 'start -p 7460',
    cwd: '/root/Projects/Patty',
    env: {
      NODE_ENV: 'production',
      PORT: '7460',
    },
    max_memory_restart: '512M',
    instances: 1,
    autorestart: true,
  }],
};