Fix Docker Compose Environment Variable Not Set on Build - How to Fix Permission Denied in Docker Bind Mounts-Fix Git 'refusing to merge unrelated histories' Error

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