فهرست منبع

docker run.sh updated

Timothy J. Baek 1 سال پیش
والد
کامیت
fc9d74edda
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      README.md
  2. 1 1
      run.sh

+ 1 - 1
README.md

@@ -37,7 +37,7 @@ OLLAMA_HOST=0.0.0.0 OLLAMA_ORIGINS=* ollama serve
 
 ```bash
 docker build -t ollama-webui .
-docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui
+docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui --add-host=host.docker.internal:host-gateway
 ```
 
 Your Ollama Web UI should now be hosted at [http://localhost:3000](http://localhost:3000). Enjoy! 😄

+ 1 - 1
run.sh

@@ -1,5 +1,5 @@
 docker stop ollama-webui || true
 docker rm ollama-webui || true
 docker build -t ollama-webui .
-docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui
+docker run -d -p 3000:3000 --name ollama-webui --restart always ollama-webui --add-host=host.docker.internal:host-gateway
 docker image prune -f