From 4cfbaf2da3989831c59db1ef21ca0c94a9590fa7 Mon Sep 17 00:00:00 2001 From: PantheRedEye Date: Sat, 23 Nov 2024 14:19:20 -0600 Subject: [PATCH] nginx deploy update --- deploy.toml | 2 +- ecosystem.config.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy.toml b/deploy.toml index 0473b33..7597268 100644 --- a/deploy.toml +++ b/deploy.toml @@ -21,7 +21,7 @@ sides = ["api","web"] packageManagerCommand = "yarn" monitorCommand = "pm2" path = "/var/www/swppptop" -processNames = ["serve"] +processNames = ["api"] repo = "git@github.com:pantheredeye/swpppTop.git" branch = "main" keepReleases = 5 diff --git a/ecosystem.config.js b/ecosystem.config.js index 80b1fef..f551e93 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,14 +1,14 @@ module.exports = { apps: [ { - name: 'serve', + name: 'api', cwd: 'current', script: 'node_modules/.bin/rw', - args: 'serve', + args: 'serve api', instances: 'max', exec_mode: 'cluster', wait_ready: true, listen_timeout: 10000, }, ], -} \ No newline at end of file +}