[PR #9660] [CLOSED] runner: allow to set a custom host #13029

Closed
opened 2026-04-13 00:15:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9660
Author: @samuelvl
Created: 3/11/2025
Status: Closed

Base: mainHead: custom-host-llama-runners


📝 Commits (1)

  • 84c6805 Allow to set a custom host on ollama runners

📊 Changes

2 files changed (+4 additions, -2 deletions)

View changed files

📝 runner/llamarunner/runner.go (+2 -1)
📝 runner/ollamarunner/runner.go (+2 -1)

📄 Description

Allow exposing the Ollama runner on 0.0.0.0 or ::1 (IPv6).

This is helpful when the Ollama runner is executed in standalone mode (e.g. kubernetes pod):

ollama runner --model ${model} --host 0.0.0.0 --port 8080

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/9660 **Author:** [@samuelvl](https://github.com/samuelvl) **Created:** 3/11/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `custom-host-llama-runners` --- ### 📝 Commits (1) - [`84c6805`](https://github.com/ollama/ollama/commit/84c68059b952037f28a0c41a61873552b48d4183) Allow to set a custom host on ollama runners ### 📊 Changes **2 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `runner/llamarunner/runner.go` (+2 -1) 📝 `runner/ollamarunner/runner.go` (+2 -1) </details> ### 📄 Description Allow exposing the Ollama runner on `0.0.0.0` or `::1` (IPv6). This is helpful when the Ollama runner is executed in standalone mode (e.g. kubernetes pod): ```shell ollama runner --model ${model} --host 0.0.0.0 --port 8080 ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:15:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13029