module.exports = { apps: [ { name: 'pingping-backend', script: 'backend/dist/index.js', instances: 1, autorestart: true, watch: false, max_memory_restart: '1G', env: { NODE_ENV: 'production', }, }, { name: 'pingping-frontend', script: 'pnpm', args: '--filter frontend preview -- --port 3000', instances: 1, autorestart: true, watch: false, max_memory_restart: '1G', env: { NODE_ENV: 'production', }, }, ], };