Initial Mento CRM: portal OTP, reports, SMS, and deploy for crm.montzar.ir.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* PM2 — Mento CRM on the shared montime host.
|
||||
* Port 3030 avoids: montime(:3000), forisanad(:3001), superadmin(:3010), ktg(:3020).
|
||||
*
|
||||
* On server (as montime):
|
||||
* pm2 start /var/www/crm/deploy/ecosystem.config.cjs
|
||||
* pm2 save
|
||||
*/
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "mento-crm-api",
|
||||
cwd: "/var/www/crm",
|
||||
script: "apps/api/dist/main.js",
|
||||
instances: 1,
|
||||
exec_mode: "fork",
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
PORT: "3030",
|
||||
},
|
||||
max_memory_restart: "600M",
|
||||
time: true,
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user