From eff48d7e3f3e7235e7dbdbfc7c74a32c8ee5b82f Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 15 Nov 2023 12:16:24 -0800 Subject: [PATCH] doc: external ollama connection updated --- README.md | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/README.md b/README.md index 990a0e84..1d0a86eb 100644 --- a/README.md +++ b/README.md @@ -94,24 +94,6 @@ Your Ollama Web UI should now be hosted at [http://localhost:3000](http://localh ### Accessing External Ollama on a Different Server -#### Prerequisites - -If you want to access an external Ollama Server hosted over LAN (or Network), for example, Ollama from your cloud server and Ollama Web UI on your localhost, run Ollama using the following command: - -```bash -OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve -``` - -In case you encounter any issues running the command and encounter errors, ensure to turn off any existing Ollama service that might be running in the background before retrying. - -If you're running Ollama via Docker: - -```bash -docker run -d -v ollama:/root/.ollama -p 11434:11434 -e OLLAMA_ORIGINS="*" --name ollama ollama/ollama -``` - -#### Installing Ollama Web UI - Change `OLLAMA_API_BASE_URL` environment variable to match the external Ollama Server url: ```bash