From 0b04700e8416de277fa31dafc162e2f8bc9b2fa6 Mon Sep 17 00:00:00 2001 From: AG Date: Sat, 20 Dec 2025 21:41:03 +0200 Subject: [PATCH] Prod deployment ready --- ecosystem.config.js | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 5a26291..6cd5886 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,11 +1,12 @@ +```javascript module.exports = { - apps : [{ - name : "ag-beats", - script : "./server.js", - interpreter: "node", - args: "", - node_args: "", - wait_ready: true, - listen_timeout: 5000 - }] -} \ No newline at end of file + apps: [ + { + name: "ag-beats", + script: "npm", + args: "start", + cwd: "/usr/src/app/ag-beats", + } + ] +}; +``` \ No newline at end of file