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: remove deprecated local_collections mounts and resource limits from compose (#2494)

LearningCircuit06bf8d56aa05
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 01fb1ac52a..860c81bf9d 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
@@ -32,9 +32,8 @@ services:
volumes:
- ldr_data:/data
- ldr_scripts:/scripts
- - ./local_collections/personal_notes:/local_collections/personal_notes/:ro
- - ./local_collections/project_docs:/local_collections/project_docs/:ro
- - ./local_collections/research_papers:/local_collections/research_papers/:ro
+ # Local document collections are managed via the Collections UI,
+ # not via Docker volume mounts. Do not add local_collections mounts here.
# Security: drop all capabilities, add back only what the entrypoint needs
security_opt:
- "no-new-privileges:true"
diff --git a/docker-compose.yml b/docker-compose.yml
index 208c7974d3..cb549597b2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -123,25 +123,13 @@ services:
- ldr_data:/data
- ldr_scripts:/scripts
# ============================================================================
- # LOCAL DOCUMENT COLLECTIONS (Optional)
- # Mount your document directories here to search them with LDR.
- #
- # For Unraid users, replace paths with your Unraid shares:
- # - /mnt/user/documents/personal:/local_collections/personal_notes/:ro
- # - /mnt/user/documents/projects:/local_collections/project_docs/:ro
- # - /mnt/user/papers:/local_collections/research_papers/:ro
- #
- # The :ro (read-only) suffix is recommended for safety.
- # ============================================================================
- - ./local_collections/personal_notes:/local_collections/personal_notes/:ro
- - ./local_collections/project_docs:/local_collections/project_docs/:ro
- - ./local_collections/research_papers:/local_collections/research_papers/:ro
- # Resource limits to prevent OOM-killing the host under load
- deploy:
- resources:
- limits:
- memory: 4G
- cpus: '4'
+ # NOTE: Do NOT add resource limits (deploy.resources.limits) here.
+ # Resource needs vary by deployment (RAM, CPU, workload). Deployers should
+ # use docker-compose.override.yml to set limits for their environment.
+ # ============================================================================
+ # NOTE: Local document collections are managed via the Collections UI,
+ # not via Docker volume mounts. Do not add local_collections mounts here.
+ # ============================================================================
# Allow SQLCipher mlock() without noisy kernel warnings
ulimits:
memlock: