build: Configure Ollama to listen on all network interfaces by setting OLLAMA_HOST=0.0.0.0 when serving.
This commit is contained in:
+1
-1
@@ -157,7 +157,7 @@ fi
|
||||
echo "⏳ Starting Ollama & downloading models..."
|
||||
# Run ollama in background if not running (simple check)
|
||||
if ! pgrep ollama &> /dev/null; then
|
||||
ollama serve &
|
||||
OLLAMA_HOST=0.0.0.0 ollama serve &
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user