add pm2 ecosystem file

This commit is contained in:
Alexander Bentkamp
2022-11-16 11:44:42 +01:00
parent 81099a5898
commit 0a2b6b4e5f
+10
View File
@@ -0,0 +1,10 @@
// This is a configuration file for pm2, a production process manager for nodejs
module.exports = {
apps : [{
name : "lean4web",
script : "server/index.js",
env: {
NODE_ENV: "production",
},
}]
}