Fix 'git pull failed index.lock file exists' Error - Docker Compose Environment Variable Not Set in Dockerfile-Cloudflare 522 Error: Server Timeout Fixes

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