From 0a2b6b4e5ff24c73ba7fb98149d5c4e6f279f30f Mon Sep 17 00:00:00 2001 From: Alexander Bentkamp Date: Wed, 16 Nov 2022 11:44:42 +0100 Subject: [PATCH] add pm2 ecosystem file --- ecosystem.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ecosystem.config.js diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..5666a87 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,10 @@ +// This is a configuration file for pm2, a production process manager for nodejs +module.exports = { + apps : [{ + name : "lean4web", + script : "server/index.js", + env: { + NODE_ENV: "production", + }, + }] +}