Spaces:
Build error

primestake / ecosystem.config.js
Enternalishere
Initial commit: Prime Stake Platform (Production Audit Fixes Applied)
dae886b
Raw History Blame Contribute Delete
563 Bytes
module.exports = {
apps: [
{
name: "prime-stake-backend",
script: "./src/server.js",
cwd: "./backend",
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: "1G",
env: {
NODE_ENV: "production",
PORT: 4000
}
},
{
name: "prime-stake-frontend",
script: "npm",
args: "start",
cwd: "./frontend",
instances: 1,
autorestart: true,
watch: false,
env: {
NODE_ENV: "production",
PORT: 3000
}
}
]
};