Fix Node.js Heap Out of Memory When Running Tests - Diagnose and Fix Nginx Redirect Loops-Docker Network Not Found After Container Restart: Fixes

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.