Files
matrix-backend/ecosystem.config.js
T
2025-09-11 05:57:08 +02:00

20 lines
450 B
JavaScript

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',
},
env_staging: {
NODE_ENV: 'staging',
PORT: 3000
}
},
],
};