1 Commits
Author SHA1 Message Date
John Patrick TeruelandCopilot 982b70a2ca Add comprehensive Docker networking documentation
Created NETWORKING_GUIDE.md explaining the host.docker.internal solution:

- Problem: Docker frontend can't reach localhost:8000 on host
- Solution: Use host.docker.internal for automatic DNS mapping
- Implementation details for App.tsx, docker-compose.yml, .env
- Step-by-step usage guide (3-terminal setup)
- Verification procedures and troubleshooting
- Platform-specific notes (macOS, Windows, Linux)
- Development workflow (Docker vs npm dev)
- Technical background and alternatives
- Advanced configuration options
- Quick reference cheat sheet

Benefits:
- Frontend automatically selects correct API URL
- No manual configuration needed
- Works on Docker Desktop (macOS/Windows)
- Easy development workflow
- Production-ready setup

Co-authored-by: Copilot <[email protected]>
2026-04-24 20:05:21 +08:00