From 432c9c7ca85e773def73885127c90c5bbdfbacc6 Mon Sep 17 00:00:00 2001 From: iDefineHD Date: Sun, 11 Jan 2026 01:13:34 +0000 Subject: [PATCH] Use .env file instead of ecosystem env overrides --- ecosystem.config.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index e9ec8b6..23fb411 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -11,19 +11,9 @@ module.exports = { max_memory_restart: "1G", env: { NODE_ENV: "production", - PORT: 3000, - FRONTEND_URL: "https://turbotrades.dev", - BACKEND_URL: "https://api.turbotrades.dev", - WS_URL: "https://ws.turbotrades.dev", - CORS_ORIGIN: "https://turbotrades.dev", }, env_production: { NODE_ENV: "production", - PORT: 3000, - FRONTEND_URL: "https://turbotrades.dev", - BACKEND_URL: "https://api.turbotrades.dev", - WS_URL: "https://ws.turbotrades.dev", - CORS_ORIGIN: "https://turbotrades.dev", }, error_file: "/root/ttbackend/logs/pm2-error.log", out_file: "/root/ttbackend/logs/pm2-out.log",