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.

docs(developing): add prerelease Docker image testing section (#4034)

LearningCircuit2ca4f02e6abd
diff --git a/changelog.d/+developing-prerelease-testing.misc.md b/changelog.d/+developing-prerelease-testing.misc.md
new file mode 100644
index 0000000000..4d29b339de
--- /dev/null
+++ b/changelog.d/+developing-prerelease-testing.misc.md
@@ -0,0 +1 @@
+Added a "Testing a Release Candidate (Prerelease Image)" subsection to the developer guide (`docs/developing.md`) covering both the floating `:prerelease` and immutable `prerelease-vX.Y.Z-<sha>` Docker Hub tags, with a side-by-side compose snippet that runs the RC on port 5001 with isolated volumes so a broken migration cannot affect a production instance.
diff --git a/docs/developing.md b/docs/developing.md
index dbd5fa6eab..edf56c2f24 100644
--- a/docs/developing.md
+++ b/docs/developing.md
@@ -94,6 +94,61 @@ docker build -t localdeepresearch/local-deep-research:dev .
docker run -p 5000:5000 -e LDR_DATA_DIR=/data -v ldr_data:/data localdeepresearch/local-deep-research:dev
```
+### Testing a Release Candidate (Prerelease Image)
+
+When a release is being cut, `.github/workflows/prerelease-docker.yml` publishes
+the RC under two tags on Docker Hub:
+
+- **`prerelease-vX.Y.Z-<sha>`** — immutable, pinned to one specific build. Use
+ this when you want a reproducible test target (e.g. when filing a bug).
+- **`prerelease`** — floating alias that always points at the most recent RC.
+ Use this for quick "try the next release" testing without bumping the tag
+ every cycle.
+
+The simplest way to test an RC alongside your existing stable instance is to
+add a second service to `docker-compose.yml` with a different port and isolated
+volumes, so a broken migration in the RC can't damage your production DB:
+
+```yaml
+ local-deep-research-pre:
+ image: localdeepresearch/local-deep-research:prerelease
+ container_name: local-deep-research-pre
+ networks:
+ - ldr-network
+ extra_hosts:
+ - "host.docker.internal:host-gateway"
+ ports:
+ - "5001:5000" # production stays on 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:
+ - ldr_data_pre:/data # ← separate from production ldr_data
+ - ldr_scripts_pre:/scripts
+ restart: unless-stopped
+
+volumes:
+ ldr_data_pre:
+ ldr_scripts_pre:
+```
+
+> Copy the `ulimits`, `security_opt`, `cap_drop`, and `cap_add` blocks from the
+> main `local-deep-research` service for the same hardening — they are required
+> for correct startup, not optional.
+
+Then pull and start just the prerelease service:
+
+```bash
+docker compose pull local-deep-research-pre
+docker compose up -d local-deep-research-pre
+```
+
+The UI will be at `http://localhost:5001`. To upgrade to the next RC after it
+ships, re-run `docker compose pull local-deep-research-pre && docker compose up -d local-deep-research-pre`.
+
## Building
### Building a Package