build: Configure Ollama to listen on all network interfaces by setting OLLAMA_HOST=0.0.0.0 when serving.

This commit is contained in:
2026-01-17 02:37:03 -03:00
parent 05faa20993
commit 62677f1beb
+1 -1
View File
@@ -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