Use .env file instead of ecosystem env overrides
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user