Fix Docker Compose 'port 8080 already allocated' Error - Stop Edge Sync Sign-In Loop with These Fixes-Fix 'pip externally managed environment' on Ubuntu 23.04

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.