Fix ollama not reachable from host due to hardcoded OLLAMA_HOST in entrypoint
The IPEX-LLM bundled start-ollama.sh hardcodes OLLAMA_HOST=127.0.0.1 and OLLAMA_KEEP_ALIVE=10m, overriding docker-compose environment variables and preventing external connections through Docker port mapping. - Add custom start-ollama.sh that honours env vars with sensible defaults - Mount it read-only into the container - Fix LD_LIBRARY_PATH env var syntax (: -> =) - Add .gitignore for IDE/swap/webui data files - Update CHANGELOG and README with fix documentation Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,6 +2,19 @@
|
||||
|
||||
## 2026-02-12
|
||||
|
||||
### Fix: Ollama not reachable from host via Docker port mapping
|
||||
|
||||
The bundled IPEX-LLM `/start-ollama.sh` entrypoint hardcodes
|
||||
`OLLAMA_HOST='127.0.0.1:11434'` and `OLLAMA_KEEP_ALIVE=10m`, overriding any
|
||||
values set through Docker Compose environment variables.
|
||||
|
||||
- Added a custom `start-ollama.sh` that respects environment variables
|
||||
(`${OLLAMA_HOST:-0.0.0.0:11434}`, `${OLLAMA_KEEP_ALIVE:-24h}`) instead of
|
||||
hardcoding them
|
||||
- Mounted the script into the container as a read-only volume
|
||||
(`./start-ollama.sh:/start-ollama.sh:ro`)
|
||||
- Fixed `LD_LIBRARY_PATH` env var syntax in docker-compose.yml (`:` -> `=`)
|
||||
|
||||
### Updated Intel GPU runtime stack to latest releases
|
||||
|
||||
- **level-zero**: v1.22.4 -> v1.28.0
|
||||
|
||||
Reference in New Issue
Block a user