fix: discover Ollama on Docker host

This commit is contained in:
Hermes Agent
2026-08-24 20:47:46 +10:00
parent 7def2990ce
commit 3bee6ac48c
5 changed files with 28 additions and 8 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ In Hermes Dashboard, open **Plugins**, choose **Install from repository**, enter
The plugin supports both deployment types:
- **Physical/Linux Hermes:** Ollama defaults to `http://localhost:11434`. If Ollama is missing, the prerequisite installer can install it on a root-run host.
- **Docker Hermes:** Ollama should normally run as a separate service or on the Docker host. The plugin does not install Ollama inside the Hermes container. Set `OLLAMA_HOST` to the reachable Ollama base URL, without `/v1`, for example `http://ollama:11434` for a Compose service or `http://host.docker.internal:11434` for a host service.
- **Docker Hermes:** Ollama should normally run as a separate service or on the Docker host. The plugin does not install Ollama inside the Hermes container. It first probes `http://ollama:11434` and then `http://host.docker.internal:11434`. Set `OLLAMA_HOST` to the reachable Ollama base URL, without `/v1`, for example `http://ollama:11434`, `http://host.docker.internal:11434`, or the host address shown by your installation, such as `http://<host-ip>:11434`.
For host access on Linux Docker, add this to the Hermes service when needed: