Home
/
risinglegends.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2736f
)
feat(infra): add pm2ecosystem config
author
xangelo
<me@xangelo.ca>
Mon, 25 Nov 2024 21:53:14 +0000
(16:53 -0500)
committer
xangelo
<me@xangelo.ca>
Mon, 25 Nov 2024 21:55:58 +0000
(16:55 -0500)
ecosystem.config.js
[new file with mode: 0644]
patch
|
blob
diff --git a/ecosystem.config.js
b/ecosystem.config.js
new file mode 100644
(file)
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