Files
omniai-server/ecosystem.config.js
2026-06-04 18:58:45 +08:00

20 lines
408 B
JavaScript

module.exports = {
apps: [{
name: 'omniai-server',
script: './src/index.js',
instances: 4,
exec_mode: 'cluster',
env: {
NODE_ENV: 'production',
},
max_memory_restart: '512M',
kill_timeout: 10000,
max_restarts: 10,
min_uptime: '10s',
listen_timeout: 10000,
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
merge_logs: true,
wait_ready: false,
}],
};