[object Object]

← back to Designer Wallcoverings

rotation pre-stage: DW-Agents DATABASE_URL env-first so rotated dw_admin pw is picked up on restart

9b0f69499e8420a4e473c814318bc5b15478cdfe · 2026-06-01 14:21:18 -0700 · Steve Abrams

Files touched

Diff

commit 9b0f69499e8420a4e473c814318bc5b15478cdfe
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 1 14:21:18 2026 -0700

    rotation pre-stage: DW-Agents DATABASE_URL env-first so rotated dw_admin pw is picked up on restart
---
 DW-Agents/ecosystem.config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DW-Agents/ecosystem.config.js b/DW-Agents/ecosystem.config.js
index d6c7d31b..9be5db33 100644
--- a/DW-Agents/ecosystem.config.js
+++ b/DW-Agents/ecosystem.config.js
@@ -131,7 +131,7 @@ module.exports = {
         NODE_ENV: 'production',
         PORT: 9877,
         NODE_OPTIONS: '--import tsx',
-        DATABASE_URL: 'postgresql://dw_admin@127.0.0.1:5432/dw_unified?schema=public'
+        DATABASE_URL: (process.env.DATABASE_URL || 'postgresql://dw_admin@127.0.0.1:5432/dw_unified?schema=public')
       },
       error_file: '/root/DW-Agents/logs/agent-sku-error.log',
       out_file: '/root/DW-Agents/logs/agent-sku-out.log',

← 5c41f8cc Grasscloth sites: unique clean image heroes (fleet hero dedu  ·  back to Designer Wallcoverings  ·  feat(schumacher): feed-first collection extraction returns r 57b79b42 →