From 1bc45d5b52e9cc120025a5cfbcb03a3258804d04 Mon Sep 17 00:00:00 2001 From: otivm Date: Sat, 25 Apr 2026 11:42:36 +0000 Subject: [PATCH] Add PM2 ecosystem config --- ecosystem.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ecosystem.config.js diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..b7dcc42 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,14 @@ + module.exports = { + apps: [ + { + name: 'otivm', + script: 'serve', + args: 'dist -l 3000 -s', + cwd: '/home/otivm/OTIVM', + interpreter: 'none', + env: { + NODE_ENV: 'production', + }, + }, + ], +}