const path = require('path'); module.exports = { apps: [ { name: 'backend', cwd: path.resolve(__dirname, 'backend'), script: 'node', args: 'dist/main.js', instances: 1, autorestart: true, watch: false, max_restarts: 10, env: { NODE_ENV: 'production' } } ] };