Is there any way to run deno as a cluster on one machine? (like pm2)
I plan to service with deno, but PM2 does NOT support deno.
Is there any way to run deno as a cluster on one machine?
Is there any way to run deno as a cluster on one machine?
ecosystem.config.js// change for your values
module.exports = {
apps: [
{
name: "name",
script: "/path/to/source.ts",
interpreter: "/home/user/.deno/bin/deno",
interpreterArgs: "run -A --unstable",
},
],
};npx pm2 start ecosystem.config.js