All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 32m55s
Root cause: server.ts defaults to port 3001 when PORT env var is not set. PM2 cluster mode shares a single port across all instances, but the PORT env variable was missing from ecosystem.config.cjs, causing port binding conflicts. Fix: Added PORT: '3001' to production API env configuration in ecosystem.config.cjs. Test environment already had PORT: 3002 set. Port allocation on projectium.com: - 3000: Gitea (system) - 3001: flyer-crawler production - 3002: flyer-crawler test - 3003: stock-alert production - 3004: stock-alert test Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
4.4 KiB
4.4 KiB