Merge pull request #19 from ollama-webui/dev

Dev
This commit is contained in:
Timothy Jaeryang Baek 2023-10-22 15:19:52 -05:00 committed by GitHub
commit 585038f767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,12 @@ If you want to access the Ollama web interface over LAN, for example, from your
OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve
``` ```
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
```
### Using Docker 🐳 ### Using Docker 🐳
If Ollama is hosted on your local machine, run the following command: If Ollama is hosted on your local machine, run the following command: