From be5e33336d090b4ec6e65f90b7125c1a484c9386 Mon Sep 17 00:00:00 2001 From: ngn13 <78868991+ngn13@users.noreply.github.com> Date: Sat, 27 May 2023 21:59:35 +0300 Subject: [PATCH] added ecosystem config for pm2 --- ecosystem.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ecosystem.config.js diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..ff4561c --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,11 @@ +module.exports = { + apps: [ + { + name: 'My Website', + exec_mode: 'cluster', + instances: 'max', // Or a number of instances + script: './node_modules/nuxt/bin/nuxt.js', + args: 'start' + } + ] +}