~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
refactor: Replace inline docker-compose with Unraid override file
LearningCircuit53d5964f0799
diff --git a/docker-compose.unraid.yml b/docker-compose.unraid.ymlnew file mode 100644index 0000000000..3115a0fffb--- /dev/null+++ b/docker-compose.unraid.yml@@ -0,0 +1,39 @@+# ============================================================================+# UNRAID OVERRIDE CONFIGURATION+# ============================================================================+# This override file configures docker-compose for Unraid systems.+# It replaces named volumes with Unraid host paths under /mnt/user/appdata/+#+# Usage with Docker Compose Manager plugin:+# 1. Copy both docker-compose.yml and docker-compose.unraid.yml to your stack+# 2. Set compose file to: docker-compose.yml:docker-compose.unraid.yml+#+# Or use from command line:+# docker compose -f docker-compose.yml -f docker-compose.unraid.yml up -d+#+# For GPU support on Unraid:+# docker compose -f docker-compose.yml -f docker-compose.unraid.yml -f docker-compose.gpu.override.yml up -d+# ============================================================================++services:+ local-deep-research:+ volumes:+ # Override named volumes with Unraid paths+ - /mnt/user/appdata/local-deep-research/data:/data+ - /mnt/user/appdata/local-deep-research/scripts:/scripts++ # Optional: Uncomment to add your document directories+ # - /mnt/user/documents/personal:/local_collections/personal_notes:ro+ # - /mnt/user/documents/projects:/local_collections/project_docs:ro+ # - /mnt/user/documents/papers:/local_collections/research_papers:ro++ ollama:+ volumes:+ # Override named volume with Unraid path+ - /mnt/user/appdata/local-deep-research/ollama:/root/.ollama+ - /mnt/user/appdata/local-deep-research/scripts:/scripts++ searxng:+ volumes:+ # Override named volume with Unraid path+ - /mnt/user/appdata/local-deep-research/searxng:/etc/searxngdiff --git a/docs/deployment/unraid.md b/docs/deployment/unraid.mdindex 2b5c56d518..4d4d138070 100644--- a/docs/deployment/unraid.md+++ b/docs/deployment/unraid.md@@ -64,77 +64,31 @@ If you prefer docker-compose for multi-container setups:2. Search for "Docker Compose Manager"3. Click **Install**-#### Step 2: Create Compose Stack+#### Step 2: Create Stack from Repository1. Navigate to **Docker** tab, scroll to **Compose** section2. Click **Add New Stack**3. Name it `local-deep-research`-4. Click **Edit Stack** (gear icon)-5. Paste the docker-compose.yml content (see below)-6. Click **Save Changes**-7. Click **Compose Up**--**docker-compose.yml for Unraid:**--```yaml-version: '3.8'--services:- local-deep-research:- image: localdeepresearch/local-deep-research- container_name: local-deep-research- networks:- - ldr-network- ports:- - "5000:5000"- environment:- - LDR_WEB_HOST=0.0.0.0- - LDR_WEB_PORT=5000- - LDR_DATA_DIR=/data- - LDR_LLM_OLLAMA_URL=http://ollama:11434- - LDR_SEARCH_ENGINE_WEB_SEARXNG_DEFAULT_PARAMS_INSTANCE_URL=http://searxng:8080- volumes:- - /mnt/user/appdata/local-deep-research/data:/data- - /mnt/user/appdata/local-deep-research/scripts:/scripts- # Optional: Add your document directories- # - /mnt/user/documents/personal:/local_collections/personal_notes:ro- # - /mnt/user/documents/projects:/local_collections/project_docs:ro- # - /mnt/user/documents/papers:/local_collections/research_papers:ro- restart: unless-stopped-- ollama:- image: ollama/ollama:0.12.6- container_name: ollama_service- networks:- - ldr-network- environment:- - OLLAMA_KEEP_ALIVE=30m- # Set MODEL variable to download on first start- - MODEL=gemma3:12b- volumes:- - /mnt/user/appdata/local-deep-research/ollama:/root/.ollama- - /mnt/user/appdata/local-deep-research/scripts:/scripts- restart: unless-stopped- # Uncomment for NVIDIA GPU (requires nvidia-driver plugin)- # runtime: nvidia- # environment:- # - NVIDIA_DRIVER_CAPABILITIES=all- # - NVIDIA_VISIBLE_DEVICES=all-- searxng:- image: searxng/searxng:latest- container_name: searxng- networks:- - ldr-network- volumes:- - /mnt/user/appdata/local-deep-research/searxng:/etc/searxng- restart: unless-stopped--networks:- ldr-network:- driver: bridge+4. Set **Repository URL**:+ ```+ https://github.com/LearningCircuit/local-deep-research.git+ ```+5. Set **Compose File**:+ ```+ docker-compose.yml:docker-compose.unraid.yml+ ```+6. **Branch:** `main`+7. Click **Save** and **Compose Up**++That's it! The stack will automatically use Unraid-appropriate paths. No manual configuration needed.++**For GPU Support:** Change **Compose File** to:+```+docker-compose.yml:docker-compose.unraid.yml:docker-compose.gpu.override.yml```+**For Document Collections:** After initial setup, edit `docker-compose.unraid.yml` in the stack to uncomment your document paths (see [Using Local Documents](#-using-local-documents)).+**Important Note:** Containers installed with Docker Compose Manager have limited GUI integration. Updates must be done via the "Update Stack" button in the Compose section, not through the regular Docker UI.### Method 3: Manual Docker Template@@ -231,13 +185,24 @@ If running LDR alone with external services:To search your Unraid shares (documents, notes, etc.):-1. In the template, find **Path** configurations for local_collections-2. Map your Unraid shares:- - **Personal Notes:** `/mnt/user/documents/personal` → `/local_collections/personal_notes`- - **Project Docs:** `/mnt/user/documents/projects` → `/local_collections/project_docs`- - **Research Papers:** `/mnt/user/papers` → `/local_collections/research_papers`-3. Set **Access mode** to **Read-only (ro)** for safety-4. These paths will be available in LDR's WebUI Settings+**For Template Installation (Method 1):**+1. Edit the container+2. Add **Path** mappings under volume configuration:+ - **Container Path:** `/local_collections/personal_notes` → **Host Path:** `/mnt/user/documents/personal` (Read-only)+ - **Container Path:** `/local_collections/project_docs` → **Host Path:** `/mnt/user/documents/projects` (Read-only)+ - **Container Path:** `/local_collections/research_papers` → **Host Path:** `/mnt/user/papers` (Read-only)+3. Apply changes and restart++**For Docker Compose Installation (Method 2):**+1. Edit `docker-compose.unraid.yml`+2. Uncomment the document collection lines and adjust paths:+ ```yaml+ - /mnt/user/documents/personal:/local_collections/personal_notes:ro+ - /mnt/user/documents/projects:/local_collections/project_docs:ro+ ```+3. Run **Compose Down** then **Compose Up** to apply changes++These paths will then be available in LDR's WebUI Settings for searching.## 🎯 GPU Acceleration (NVIDIA)