/* eslint-env node */ module.exports = { apps: [ { name: process.env.APP_NAME, script: 'dist/main.js', node_args: '-r module-alias/register', cwd: '/app', instances: 1, exec_mode: 'fork', autorestart: true, watch: false, max_memory_restart: '1G', env_production: { NODE_ENV: 'production', }, }, ], };