[GH-ISSUE #785] Revise TTS Docker directions to use Docker networking #108

Closed
opened 2026-10-18 14:09:02 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @wired-filipino-owl on GitHub (Oct 30, 2025).
Original GitHub issue: https://github.com/open-webui/docs/issues/785

Using host.docker.internal did not work for me to setup Kokoro-FastAPI. I assume this is a (somewhat) recent change to Docker.

I had to create a docker network and add Open-WebUI and Kokoro-FastAPI's containers to the network.

Rough directions (for already running containers):

#if your container names don't match, you can rename them to what you like using "docker rename <container id> <new container name>"
#you can get the id/names from "docker ps" or "docker container ls"
#create the Docker network (replace local-llm with whatever name you like)
docker network create local-llm
#add the containers to the network
docker network connect local-llm open-webui
docker network connect local-llm kokoro-fastapi
#restart the containers to get networking working properly
docker restart open-webui kokoro-fastapi

You can then access Kokoro via http://kokoro-fastapi:8880/v1 on Open-WebUI.

I would submit a PR for just Kokoro-FastAPI but I don't know how to use Docker Compose. I'm sure you could configure it to network the two containers.

Originally created by @wired-filipino-owl on GitHub (Oct 30, 2025). Original GitHub issue: https://github.com/open-webui/docs/issues/785 Using `host.docker.internal` did not work for me to setup Kokoro-FastAPI. I assume this is a (somewhat) recent change to Docker. I had to create a docker network and add Open-WebUI and Kokoro-FastAPI's containers to the network. Rough directions (for already running containers): ``` #if your container names don't match, you can rename them to what you like using "docker rename <container id> <new container name>" #you can get the id/names from "docker ps" or "docker container ls" #create the Docker network (replace local-llm with whatever name you like) docker network create local-llm #add the containers to the network docker network connect local-llm open-webui docker network connect local-llm kokoro-fastapi #restart the containers to get networking working properly docker restart open-webui kokoro-fastapi ``` You can then access Kokoro via `http://kokoro-fastapi:8880/v1` on Open-WebUI. I would submit a PR for just `Kokoro-FastAPI` but I don't know how to use Docker Compose. I'm sure you could configure it to network the two containers.
Author
Owner

@Ansh1372 commented on GitHub (Apr 27, 2026):

Hi! I'm a contributor and would love to work on this.
I'll add a Docker networking section to the TTS
documentation showing how to use docker network
instead of host.docker.internal for Kokoro-FastAPI setup.

<!-- gh-comment-id:4325775378 --> @Ansh1372 commented on GitHub (Apr 27, 2026): Hi! I'm a contributor and would love to work on this. I'll add a Docker networking section to the TTS documentation showing how to use docker network instead of host.docker.internal for Kokoro-FastAPI setup.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/docs#108
No description provided.