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.

Improve Docker compose configuration

Daniel Petti10ed8dbbd555
diff --git a/cookiecutter-docker/cookiecutter.json b/cookiecutter-docker/cookiecutter.json
index 8c37169be7..7bf7fb0543 100644
--- a/cookiecutter-docker/cookiecutter.json
+++ b/cookiecutter-docker/cookiecutter.json
@@ -4,6 +4,7 @@
"host_port": 5000,
"host_ip": "0.0.0.0",
"host_network": false,
+ "enable_gpu": true,
"enable_ollama": true,
"enable_searxng": true
}
diff --git a/cookiecutter-docker/{{cookiecutter.config_name}}/docker-compose.{{cookiecutter.config_name}}.yml b/cookiecutter-docker/{{cookiecutter.config_name}}/docker-compose.{{cookiecutter.config_name}}.yml
index 1e2597a4ce..c9b448bc71 100644
--- a/cookiecutter-docker/{{cookiecutter.config_name}}/docker-compose.{{cookiecutter.config_name}}.yml
+++ b/cookiecutter-docker/{{cookiecutter.config_name}}/docker-compose.{{cookiecutter.config_name}}.yml
@@ -10,6 +10,9 @@ services:
{% endif %}
{%- if cookiecutter.host_network %}
network_mode: host # Best option for connecting to locally running Ollama
+ {% else %}
+ networks:
+ - ldr-network
{% endif %}
ports:
- "{{cookiecutter.host_port}}:{{cookiecutter.host_port}}"
@@ -17,8 +20,15 @@ services:
# Web Interface Settings
- LDR_WEB_PORT={{cookiecutter.host_port}}
- LDR_WEB_HOST={{cookiecutter.host_ip}}
+ {%- if cookiecutter.enable_ollama %}
+ - LDR_LLM_PROVIDER=ollama
+ - LDR_LLM_OLLAMA_URL=http://ollama:11434
+ {% endif %}
+ {%- if cookiecutter.enable_searxng %}
+ - LDR_SEARCH_ENGINE_WEB_SEARXNG_DEFAULT_PARAMS_INSTANCE_URL=http://searxng:8080
+ {% endif %}
volumes:
- - ./data:/root/.config/local_deep_research
+ - ldr_data:/install/.venv/lib/python3.13/site-packages/data/
restart: unless-stopped
{%- if cookiecutter.enable_ollama or cookiecutter.enable_searxng %}
depends_on:
@@ -35,8 +45,11 @@ services:
image: ollama/ollama:latest
volumes:
- ollama_data:/root/.ollama
- ports:
- - "11434:11434"
+ {%- if not cookiecutter.host_network %}
+ networks:
+ - ldr-network
+ {% endif %}
+ {%- if cookiecutter.enable_gpu %}
deploy:
resources:
reservations:
@@ -44,6 +57,7 @@ services:
- driver: nvidia
count: all
capabilities: [gpu]
+ {% endif %}
restart: unless-stopped
{% endif %}
@@ -51,13 +65,21 @@ services:
searxng:
image: searxng/searxng:latest
container_name: searxng
- ports:
- - "8080:8080"
+ {%- if not cookiecutter.host_network %}
+ networks:
+ - ldr-network
+ {% endif %}
volumes:
- searxng_data:/etc/searxng
restart: unless-stopped
{% endif %}
volumes:
+ ldr_data:
ollama_data:
searxng_data:
+
+{%- if not cookiecutter.host_network %}
+networks:
+ ldr-network:
+{% endif %}
diff --git a/src/local_deep_research/defaults/default_settings.json b/src/local_deep_research/defaults/default_settings.json
index 5367a81c29..606d8133a7 100644
--- a/src/local_deep_research/defaults/default_settings.json
+++ b/src/local_deep_research/defaults/default_settings.json
@@ -3051,7 +3051,7 @@
"step": null,
"type": "SEARCH",
"ui_element": "select",
- "value": 1,
+ "value": "OFF",
"visible": true
},
"search.engine.web.searxng.full_search_class": {