Fix Docker Compose Environment Variable Not Set on Build - Recover Lost Changes After Git Detached HEAD-Chrome Profile Sync Troubleshooting Guide

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