ecosystem.config.js
module.exports = {
apps: [{
name: 'build-debrief',
script: 'src/server.js',
cwd: __dirname,
env: { PORT: 9756, OLLAMA_URL: 'http://192.168.1.133:11434', OLLAMA_FALLBACK: 'http://localhost:11434' },
autorestart: true,
max_memory_restart: '512M',
}]
};