Files
kokken/ecosystem.config.js
2025-10-28 23:22:33 +01:00

28 lines
551 B
JavaScript

module.exports = {
apps: [
{
name: 'warme',
script: 'server.mjs',
instances: 1,
exec_mode: 'cluster',
env: {
NODE_ENV: 'production',
PORT: 3000
},
env_development: {
NODE_ENV: 'development',
PORT: 3000
},
node_args: [
'--no-deprecation',
'--experimental-fetch'
],
error_file: 'logs/err.log',
out_file: 'logs/out.log',
time: true,
wait_ready: true,
listen_timeout: 10000,
kill_timeout: 5000
}
]
}