Files
ssessesse-ki-battle/ecosystem.config.cjs
T

19 lines
394 B
JavaScript

module.exports = {
apps: [{
name: 'dragon-ball',
cwd: __dirname,
script: 'dist/server/src/server/index.js',
exec_mode: 'fork',
instances: 1,
watch: false,
autorestart: true,
restart_delay: 3000,
min_uptime: '10s',
max_restarts: 10,
wait_ready: true,
listen_timeout: 30000,
kill_timeout: 15000,
env: { NODE_ENV: 'production' },
}],
};