Configure Ollama to bind on all interfaces for remote access

This commit is contained in:
2026-03-07 03:41:52 +00:00
parent 35a6715f01
commit 964c8bedf3
+1
View File
@@ -9,6 +9,7 @@ services:
- NVIDIA_VISIBLE_DEVICES=all - NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility - NVIDIA_DRIVER_CAPABILITIES=compute,utility
- TZ=America/New_York - TZ=America/New_York
- OLLAMA_HOST=0.0.0.0
volumes: volumes:
- /srv/ollama:/root/.ollama - /srv/ollama:/root/.ollama
runtime: nvidia runtime: nvidia