From: xangelo Date: Mon, 25 Nov 2024 21:53:14 +0000 (-0500) Subject: feat(infra): add pm2ecosystem config X-Git-Tag: v0.4.4~40 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=fa7c5d974f33cc5600c4cc516326aa1ec1711c70;p=risinglegends.git feat(infra): add pm2ecosystem config --- 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