From 447cd322b55d372313b21066d157d76dcee530b8 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 21 Sep 2022 16:37:53 +0200 Subject: [PATCH] - add pm2 --- ecosystem.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ecosystem.config.js diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..dcab532 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,12 @@ +module.exports = [ + { + script: "npm", + args: "start", + name: "web", + exec_mode: "cluster", + instances: "1", + env: { + NODE_ENV: "production", + }, + }, +];