Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Fix Docker Compose Quick Start networking and GPU documentation

LearningCircuit4d5fc1d31b99
diff --git a/README.md b/README.md
index 2ec1dfbce8..039c5506ae 100644
--- a/README.md
+++ b/README.md
@@ -142,6 +142,26 @@ you can get up and running quickly.
#### Option 2a: Quick Start (One Command)
+**Prerequisites for GPU Support (Optional):**
+
+If you have an NVIDIA GPU and want to use it with Ollama, you need to install the NVIDIA Container Toolkit first:
+
+```bash
+# Install NVIDIA Container Toolkit (for GPU support)
+curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
+ && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
+ sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
+ sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
+
+sudo apt-get update
+sudo apt-get install nvidia-container-toolkit -y
+sudo systemctl restart docker
+```
+
+**Note:** If you don't have an NVIDIA GPU or don't want GPU acceleration, you must remove the `deploy` section (lines 79-85) from the `ollama` service in `docker-compose.yml` before running docker compose.
+
+**Quick Start Commands:**
+
Linux:
```bash
diff --git a/docker-compose.yml b/docker-compose.yml
index b5300d7e91..39591a02ce 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -41,13 +41,14 @@ services:
# ============================================================================
# ============================================================================
- # OPTIONAL: Service endpoints for docker-compose setup
- # WARNING: These will lock the settings and prevent changes through the UI!
- # Uncomment these if you want to enforce these service endpoints.
- # Otherwise, configure them through the web interface after startup.
+ # DOCKER-COMPOSE SERVICE ENDPOINTS (Forced for proper container networking)
+ # These are required for containers to communicate with each other.
+ # Docker containers cannot use 'localhost' to reach other containers.
+ # These settings override UI configuration for Docker Compose deployments.
+ # Note: pip/local installs use localhost defaults and are unaffected.
# ============================================================================
- # - LDR_LLM_OLLAMA_URL=http://ollama:11434
- # - LDR_SEARCH_ENGINE_WEB_SEARXNG_DEFAULT_PARAMS_INSTANCE_URL=http://searxng:8080
+ - LDR_LLM_OLLAMA_URL=http://ollama:11434
+ - LDR_SEARCH_ENGINE_WEB_SEARXNG_DEFAULT_PARAMS_INSTANCE_URL=http://searxng:8080
# ============================================================================
# ADVANCED: Uncomment ONLY if you need to enforce/lock these settings
@@ -74,7 +75,7 @@ services:
ollama:
image: ollama/ollama:0.12.6
- deploy: # Remove this section if you do not have an Nvidia GPU.
+ deploy: # Remove this entire 'deploy' section if you don't have an Nvidia GPU or nvidia-container-toolkit installed.
resources:
reservations:
devices: