add ecosystem.config.js

This commit is contained in:
StarAppeal
2025-09-11 05:54:28 +02:00
parent 9e63c9d33e
commit 820a95ca3a
+15
View File
@@ -0,0 +1,15 @@
module.exports = {
apps: [
{
name: 'matrix-backend',
script: 'dist/src/index.js',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env_production: {
NODE_ENV: 'production',
},
},
],
};