Files
batch-prompts/prompts/ecosystem.config.js
2026-01-10 16:58:15 +08:00

20 lines
432 B
JavaScript

module.exports = {
apps: [
{
name: 'image-worker',
script: './workers/image-worker.ts',
interpreter: 'bun',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
},
error_file: './logs/worker-error.log',
out_file: './logs/worker-out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
},
],
};