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:
2026-08-29 21:06:30 +03:30
co-authored by Cursor
commit 29a040c21d
195 changed files with 39430 additions and 0 deletions
+25
View File
@@ -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,
},
],
};