Fix Docker Compose Environment Variable Not Set on Build - Fix Docker Container Exiting Right After Start-Third-Party Antivirus Interfering with Edge Sync: Solutions

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