From 7009864a72efda7b2b316146b2aae0719ae02a52 Mon Sep 17 00:00:00 2001 From: Aleksandr Abramenko Date: Fri, 29 Mar 2024 05:42:24 +0700 Subject: [PATCH] Add PM2 config --- ecosystem.config.cjs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ecosystem.config.cjs diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs new file mode 100644 index 0000000..e406db3 --- /dev/null +++ b/ecosystem.config.cjs @@ -0,0 +1,11 @@ +module.exports = { + apps: [ + { + name: "NuxtAppName", + port: "3000", + exec_mode: "cluster", + instances: "max", + script: "./.output/server/index.mjs", + }, + ], +};