Spaces:
Sleeping

api / ecosystem.config.cjs
Amal Jose
fix: Changed kafka service to aiven.io
03d6d9d
Raw History Blame Contribute Delete
341 Bytes
module.exports = {
apps: [{
name: "my-express-server",
script: "./dist/server.js",
instances: 2,
exec_mode: "cluster",
max_memory_restart: "4G",
env: {
NODE_ENV: "production",
PORT: 7860 // Ensure this matches HF's requirements
},
autorestart: true,
watch: false,
max_restarts: 10,
restart_delay: 4000
}]
}