← back to Ventura Corridor

ecosystem.config.cjs

20 lines

/**
 * Ventura Corridor — PM2 process config.
 * Local-only Mac. Server binds 127.0.0.1:9780.
 */
module.exports = {
  apps: [
    {
      name: 'ventura-corridor',
      script: 'node_modules/.bin/tsx',
      args: 'src/server/index.ts',
      cwd: __dirname,
      env: { NODE_ENV: 'production' },
      autorestart: true,
      max_memory_restart: '512M',
      out_file: 'logs/server.out.log',
      error_file: 'logs/server.err.log',
    },
  ],
};