diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs new file mode 100644 index 0000000..74f61ff --- /dev/null +++ b/ecosystem.config.cjs @@ -0,0 +1,20 @@ +module.exports = { + apps: [ + { + name: "cupcake", + script: "pnpm", + args: "start", + cwd: __dirname, + interpreter: "none", + instances: 1, + exec_mode: "fork", + autorestart: true, + watch: false, + max_memory_restart: "512M", + env: { + NODE_ENV: "production", + PORT: 3000, + }, + }, + ], +};