LocalDeepResearch
LocalDeepResearch
OfficialDocker app from Selfhosters
Overview
Local Deep Research (LDR) is an AI-powered research assistant that performs systematic research by breaking down complex questions, searching multiple sources in parallel, verifying information across sources, and creating comprehensive reports with proper citations. It runs entirely locally with Ollama + SearXNG for privacy, or can use cloud LLM providers.
Features:
- Privacy-focused: Run entirely locally with Ollama
- Multiple research modes (Quick Summary, Detailed Research)
- Per-user encrypted databases (SQLCipher with AES-256)
- Real-time progress tracking via WebSocket
- Export to PDF or Markdown
- REST API with authentication
- Analytics dashboard
This template includes the main LDR service. For full functionality, you may also want to install the companion containers (Ollama and SearXNG) or configure external LLM/search providers.
Community & Support:
- Discord: https://discord.gg/ttcqQeFcJ3
- Reddit: https://www.reddit.com/r/LocalDeepResearch/
- GitHub Issues: https://github.com/LearningCircuit/local-deep-research/issues
Requirements
Runtime arguments
- Web UI
http://[IP]:[PORT:5000]- Network
bridge- Shell
sh- Privileged
- false
Template configuration
Port for accessing the Local Deep Research web interface. Change the host port (left side) if 5000 is already in use. Do NOT change the container port (right side).
- Target
- 5000
- Default
- 5000
- Value
- 5000
Primary data directory containing user databases, research outputs, cache, and logs. All user data is stored here.
- Target
- /data
- Default
- /mnt/user/appdata/local-deep-research/data
- Value
- /mnt/user/appdata/local-deep-research/data
Directory for startup scripts. Required for multi-container setups with Ollama.
- Target
- /scripts
- Default
- /mnt/user/appdata/local-deep-research/scripts
- Value
- /mnt/user/appdata/local-deep-research/scripts
Optional: Mount a directory containing personal notes/documents to search. Leave empty if not needed.
- Target
- /local_collections/personal_notes
Optional: Mount a directory containing project documentation to search. Leave empty if not needed.
- Target
- /local_collections/project_docs
Optional: Mount a directory containing research papers to search. Leave empty if not needed.
- Target
- /local_collections/research_papers
Web server host binding. MUST be 0.0.0.0 for Docker. Do NOT change this.
- Target
- LDR_WEB_HOST
- Default
- 0.0.0.0
- Value
- 0.0.0.0
Internal container port. MUST be 5000. Do NOT change this. To change the external port, modify the Port mapping above.
- Target
- LDR_WEB_PORT
- Default
- 5000
- Value
- 5000
Internal data directory path. MUST be /data. Do NOT change this.
- Target
- LDR_DATA_DIR
- Default
- /data
- Value
- /data
Ollama API URL. Use 'http://ollama:11434' if running Ollama container on ldr-network, or 'http://[IP]:11434' for external Ollama instance.
- Target
- LDR_LLM_OLLAMA_URL
- Default
- http://ollama:11434
- Value
- http://ollama:11434
SearXNG instance URL. Use 'http://searxng:8080' if running SearXNG container on ldr-network, or configure external search engine in WebUI.
- Target
- LDR_SEARCH_ENGINE_WEB_SEARXNG_DEFAULT_PARAMS_INSTANCE_URL
- Default
- http://searxng:8080
- Value
- http://searxng:8080
Optional: Force LLM provider (ollama, openai, anthropic, google). Leave empty to configure via WebUI Settings page. Only set this to LOCK the provider.
- Target
- LDR_LLM_PROVIDER
Optional: Force specific model name. Leave empty to configure via WebUI Settings page. Only set this to LOCK the model.
- Target
- LDR_LLM_MODEL
Optional: OpenAI API key. Can also be configured via WebUI Settings page. Only set here to LOCK it (prevents UI changes).
- Target
- LDR_LLM_OPENAI_API_KEY
Optional: Anthropic API key. Can also be configured via WebUI Settings page. Only set here to LOCK it (prevents UI changes).
- Target
- LDR_LLM_ANTHROPIC_API_KEY
Optional: Google API key. Can also be configured via WebUI Settings page. Only set here to LOCK it (prevents UI changes).
- Target
- LDR_LLM_GOOGLE_API_KEY
User ID for file permissions. Default 99 (nobody) is recommended for Unraid.
- Default
- 99
- Value
- 99
Group ID for file permissions. Default 100 (users) is recommended for Unraid.
- Default
- 100
- Value
- 100
Categories
Download Statistics
Total Downloads Over Time
Details
localdeepresearch/local-deep-research:latestRun LocalDeepResearch on Unraid.
LocalDeepResearch is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.