Spaces:
Running
Running
module.exports = { | |
apps: [{ | |
name: 'colpali-hono-proxy', | |
script: './dist/index.js', | |
instances: 'max', | |
exec_mode: 'cluster', | |
env: { | |
NODE_ENV: 'production', | |
PORT: 4000 | |
}, | |
error_file: './logs/error.log', | |
out_file: './logs/out.log', | |
log_file: './logs/combined.log', | |
time: true, | |
max_memory_restart: '1G', | |
autorestart: true, | |
watch: false, | |
max_restarts: 10, | |
min_uptime: '10s', | |
listen_timeout: 3000, | |
kill_timeout: 5000, | |
}] | |
}; |