This commit is contained in:
2026-01-10 16:58:15 +08:00
commit 48e3033639
53 changed files with 41267 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
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',
},
],
};