Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

docs(readme): note BACKEND_HOST/FRONTEND_HOST loopback knobs for host networking

Bingxi Zhao (Frank)34cdb925c4f8
diff --git a/README.md b/README.md
index e0adf982a..47fe4e58d 100644
--- a/README.md
+++ b/README.md
@@ -322,7 +322,7 @@ Then in **Settings → Models**, point the provider Base URL at `host.docker.int
Docker Desktop (macOS/Windows) usually resolves `host.docker.internal` without `--add-host`. On Linux, the flag is the portable way to create that hostname on modern Docker Engine.
-**Linux alternative — host networking:** add `--network=host` and drop the `-p` flags. The container shares the host network directly, so open [http://127.0.0.1:3782](http://127.0.0.1:3782) (or the `frontend_port` in `system.json`), and host services can be reached with normal localhost URLs like `http://127.0.0.1:11434/v1`. Note that host networking exposes container ports directly on the host and may conflict with existing services.
+**Linux alternative — host networking:** add `--network=host` and drop the `-p` flags. The container shares the host network directly, so open [http://127.0.0.1:3782](http://127.0.0.1:3782) (or the `frontend_port` in `system.json`), and host services can be reached with normal localhost URLs like `http://127.0.0.1:11434/v1`. Note that host networking exposes container ports directly on the host and may conflict with existing services — to keep them on loopback, set `BACKEND_HOST=127.0.0.1` and `FRONTEND_HOST=127.0.0.1` (see [CONTAINERIZATION.md](./CONTAINERIZATION.md)).
</details>