From c8ca74ab4a503bf4f06f4e64d0706d74324b6578 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sat, 19 Dec 2020 17:39:31 +0100 Subject: [PATCH] update nodejs --- 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..0aeb962 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,10 @@ +module.exports = { + apps: [ + { + name: 'artapi', + exec_mode: 'cluster', + instances: 'max', // Or a number of instances + script: './build/server.js', + } + ] +}