[object Object]

← back to Ga Global Viewer

add pm2 ecosystem config for ga-global-viewer on port 9768

b6723c8f03ed10c3d6cb512b9fcaa0869f7ff99e · 2026-06-01 11:00:47 -0700 · Steve Abrams

Files touched

Diff

commit b6723c8f03ed10c3d6cb512b9fcaa0869f7ff99e
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 1 11:00:47 2026 -0700

    add pm2 ecosystem config for ga-global-viewer on port 9768
---
 ecosystem.config.js | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/ecosystem.config.js b/ecosystem.config.js
new file mode 100644
index 0000000..64ecaef
--- /dev/null
+++ b/ecosystem.config.js
@@ -0,0 +1,10 @@
+module.exports = {
+  apps: [{
+    name: 'ga-global-viewer',
+    script: 'server.js',
+    cwd: __dirname,
+    env: { NODE_ENV: 'production', PORT: 9768 },
+    autorestart: true,
+    max_restarts: 10,
+  }],
+};

← 2b47e12 initial scaffold: GA global viewer with Chart.js, fetch_stat  ·  back to Ga Global Viewer  ·  gitignore: add missing standard excludes (.next/) befe3ae →