Use .env file instead of ecosystem env overrides
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s

This commit is contained in:
2026-01-11 01:13:34 +00:00
parent 3dc2882b24
commit 432c9c7ca8

View File

@@ -11,19 +11,9 @@ module.exports = {
max_memory_restart: "1G", max_memory_restart: "1G",
env: { env: {
NODE_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",
}, },
env_production: { env_production: {
NODE_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", error_file: "/root/ttbackend/logs/pm2-error.log",
out_file: "/root/ttbackend/logs/pm2-out.log", out_file: "/root/ttbackend/logs/pm2-out.log",