From fa7c5d974f33cc5600c4cc516326aa1ec1711c70 Mon Sep 17 00:00:00 2001 From: xangelo Date: Mon, 25 Nov 2024 16:53:14 -0500 Subject: [PATCH] feat(infra): add pm2ecosystem config --- ecosystem.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ecosystem.config.js diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..d12cd29 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,13 @@ +module.exports = { + apps: [ + { + name: 'rising-legends', + script: 'dist/src/server/api.js', + node_args: '-r ts-node/register -r tsconfig-paths/register', + env: { + TS_NODE_BASEURL: './dist', + NODE_ENV: 'production' + } + } + ] +} \ No newline at end of file -- 2.25.1