Files
ferrovia-regional/ecosystem.config.cjs
T
2026-09-23 23:30:18 +02:00

23 lines
444 B
JavaScript

module.exports = {
apps: [
{
name: 'ter-ferrovia',
script: 'node_modules/next/dist/bin/next',
args: 'start -p 3000',
instances: 'max',
exec_mode: 'cluster',
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: 3000,
},
env_production: {
NODE_ENV: 'production',
PORT: 3000,
},
},
],
};