From 5d07c3634bd2b2e8bd30ea7da410b1e311c8a1c3 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 18 Oct 2023 03:01:34 -0700 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 3eca3e24..fccc6b84 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,15 @@ docker run -d -p 3000:3000 --add-host=host.docker.internal:host-gateway --name o Your Ollama Web UI should now be hosted at [http://localhost:3000](http://localhost:3000). Enjoy! 😄 +#### Connecting to Ollama on a Different Server + +If Ollama is hosted on a server other than your local machine, you can connect to it using the following environment variable: + +```bash +docker build -t ollama-webui . +docker run -d -p 3000:3000 --add-host=host.docker.internal:host-gateway -e OLLAMA_ENDPOINT="http://[insert your ollama url]" --name ollama-webui --restart always ollama-webui +``` + ## What's Next? 🚀 ### To-Do List 📝