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.

security: harden Docker containers with cap_drop and security_opt (#3083)

LearningCircuitf11b4e8c788d
diff --git a/docker-compose.yml b/docker-compose.yml
index 9180e8520c..a1b27a620b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -195,6 +195,10 @@ services:
- ldr-network
security_opt:
- "no-new-privileges:true"
+ cap_drop:
+ - ALL
+ # WARNING: Do NOT add ports: - "11434:11434" — Ollama has no authentication.
+ # Access is intentionally restricted to the ldr-network internal network.
restart: unless-stopped
searxng:
@@ -202,7 +206,16 @@ services:
container_name: searxng
networks:
- ldr-network
-
+ security_opt:
+ - "no-new-privileges:true"
+ cap_drop:
+ - ALL
+ healthcheck:
+ test: ["CMD", "wget", "-qO-", "http://localhost:8080/healthz"]
+ interval: 30s
+ timeout: 10s
+ start_period: 30s
+ retries: 3
volumes:
- searxng_data:/etc/searxng
restart: unless-stopped