Commit a3bb5359 authored by Vũ Gia Vương's avatar Vũ Gia Vương

add ecosystem.config.js

parent cb14f94a
// ecosystem.config.js
module.exports = {
apps: [
{
name: "flip-jump",
script: "dist/index.js",
instances: "max",
exec_mode: "cluster",
// 👇 quan trọng: sticky mode
// PM2 apt build cũ không nhận flag --sticky
// nhưng bạn có thể set trong config file
// một số bản hỗ trợ, một số bản thì không
// nếu không hỗ trợ thì sẽ bị ignore
sticky: true
}
]
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment