← back to Archive Agent
auto-save: 2026-06-21T18:53:00 (2 files) — ecosystem.config.js ecosystem.config.js.rotbak
6ab943e95ef225a261f897eed24f76f381a7982c · 2026-06-21 18:53:01 -0700 · Steve Abrams
Files touched
M ecosystem.config.jsA ecosystem.config.js.rotbak
Diff
commit 6ab943e95ef225a261f897eed24f76f381a7982c
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Sun Jun 21 18:53:01 2026 -0700
auto-save: 2026-06-21T18:53:00 (2 files) — ecosystem.config.js ecosystem.config.js.rotbak
---
ecosystem.config.js | 2 +-
ecosystem.config.js.rotbak | 18 ++++++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/ecosystem.config.js b/ecosystem.config.js
index 47abe70..24352bd 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -8,7 +8,7 @@ module.exports = {
ARCHIVE_SCAN_MINUTES: 60,
SHOPIFY_STORE: 'designer-laboratory-sandbox.myshopify.com',
SHOPIFY_ADMIN_TOKEN: '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',
- DATABASE_URL: (process.env.DATABASE_URL || 'postgresql://dw_admin@127.0.0.1:5432/dw_unified'),
+ DATABASE_URL: (process.env.DATABASE_URL || 'postgresql://dw_admin:GDTfRN4cfYo8nwyiov0r22WF@127.0.0.1:5432/dw_unified'),
},
error_file: '/root/DW-Agents/archive-agent/logs/error.log',
out_file: '/root/DW-Agents/archive-agent/logs/out.log',
diff --git a/ecosystem.config.js.rotbak b/ecosystem.config.js.rotbak
new file mode 100644
index 0000000..47abe70
--- /dev/null
+++ b/ecosystem.config.js.rotbak
@@ -0,0 +1,18 @@
+module.exports = {
+ apps: [{
+ name: 'archive-agent',
+ script: 'server.js',
+ cwd: '/root/DW-Agents/archive-agent',
+ env: {
+ PORT: 9648,
+ ARCHIVE_SCAN_MINUTES: 60,
+ SHOPIFY_STORE: 'designer-laboratory-sandbox.myshopify.com',
+ SHOPIFY_ADMIN_TOKEN: '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',
+ DATABASE_URL: (process.env.DATABASE_URL || 'postgresql://dw_admin@127.0.0.1:5432/dw_unified'),
+ },
+ error_file: '/root/DW-Agents/archive-agent/logs/error.log',
+ out_file: '/root/DW-Agents/archive-agent/logs/out.log',
+ time: true,
+ max_memory_restart: '500M',
+ }],
+};
← 8c05511 fix: wrap all async DB route handlers in try/catch to preven
·
back to Archive Agent
·
Strip hardcoded Shopify API tokens from source (env-first); d8e9d87 →