Fix Docker Compose Environment Variable Substitution Failed - Fix 'Port Already Allocated' Error in Docker Compose on Mac-Pip Externally Managed Error: Setup Python venv Correctly

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