Files
Athena-Deck/integrations/deepseek-harness-unraid

DeepSeek Harness on Unraid — 15 October 2026

Separate optional Unraid application; no Athena Deck, OpenCode, LibreChat or host service changes. Current cached CA catalog (4960 entries) had no DeepSeek Harness match. It uses PHP serialization in templates_new.json, despite its suffix. A private v2 XML template follows the schema linked from the official Unraid docs.

Sources

The official npm latest release resolved to 0.2.0-rc.2 during preparation. This is developer-preview software. The image installs that exact package from the official npm scope on the official Node 24 bookworm-slim base, rather than compiling the source monorepo. Dockerfile and entrypoint are provided here. Base-image content and transitive npm dependency resolutions can change on a future rebuild; record the installed image ID and package lock for this run.

Paths and setup

  • Build files: /mnt/user/appdata/deepseek-harness/build
  • Sessions/settings/plugins/credentials: /mnt/user/appdata/deepseek-harness/state
  • Working files: /mnt/user/appdata/deepseek-harness/workspace → /workspace
  • Template: /boot/config/plugins/dockerMan/templates-user/my-DeepSeek-Harness.xml
  • Container/image: DeepSeek-Harness / athena-deepseek-harness:0.2.0-rc.2
  • Browser URL: http://192.168.1.2:3081/

Copy these public files into the build folder. Build with:

DOCKER_BUILDKIT=0 nice -n 15 ionice -c 3 docker build \
  --cpu-period=100000 --cpu-quota=100000 --cpu-shares=128 \
  --memory=2g --memory-swap=2g \
  -t athena-deepseek-harness:0.2.0-rc.2 \
  /mnt/user/appdata/deepseek-harness/build

Then run the reviewed install.sh on Unraid. It refuses an existing container or template, creates only its own two data directories and changes ownership only on those directory roots. The runtime uses UID/GID 1000, standard bridge, one CPU, 2 GiB memory, no extra swap allowance, 256 PIDs, dropped capabilities and no new privileges. It mounts no host Docker socket, host root or existing projects. It publishes port 3081 only on 192.168.1.2 using the standard bridge network. The LAN-specific publish rule is stored in ExtraParams, so a later GUI Apply retains it; WebUI points to [IP]:3081. No existing process is stopped.

The first login uses the startup launch URL in the new container's own Docker log; that URL is a credential and must not be copied into Git or public reports. Authentication and Host/Origin checks remain enabled. HTTP LAN only; no reverse proxy or public exposure is configured. Add /workspace in the UI, then configure a model in Settings. No model/API credentials are supplied by this installation. The launcher options must be checked against the pinned installed release before claiming successful service startup.

Persistence and recovery

Back up the state and workspace folders separately with restricted permissions, plus the template and build recipe. The state may contain provider credentials; never commit it or the startup token. These Unraid paths are not implicitly covered by Athena Deck's own backup allowlist. On a replacement Unraid host, rebuild the image, restore both folders and UID/GID ownership, and reinstall the XML/run the equivalent Docker settings. No fresh-host restore has been tested. This optional Unraid app does not add a dependency to Athena's future native Debian installation. No model benchmark or application task is implied by a successful HTTP/UI startup check.

Deployment notes

The initial low-priority Unraid build waited heavily on storage during the user's concurrent rsync and compilation. Only that own build was stopped and its stopped intermediate container removed. The image was then built on Athena with one CPU / 2 GiB and streamed using docker save/load; no Deck/model restart.

The published npm release differs from current master documentation: web help contains no --public-url; a concrete non-loopback IP fails plugin validation, and 0.0.0.0 is deliberately rejected by its startup logic. With the user's explicit approval, launch.mjs runs upstream DSH on 127.0.0.1:3082 and adds a byte-for-byte TCP relay on container port 3080. Host/Origin, HTTP cookies, token authentication and WebSocket streams remain unchanged. It also rewrites only the printed self-address to the configured LAN URL; it does not change model provider settings. DSH_PUBLIC_URL is a wrapper setting for this release. No upstream security checks are disabled or patched. The user explicitly approved the LAN access and shell-execution scope after automatic review had blocked the initially proposed relay.

An isolated Athena smoke container with no host mounts, no published ports and no API credentials stayed running, announced readiness and showed no startup errors or OOM. It uses the same UID/resource/security settings as Unraid. The classic Docker builder does not support COPY --chmod; this recipe uses COPY followed by explicit chmod, verified before deployment.

HTTP smoke acceptance: login URL returned 303 and set a session cookie; the authenticated document returned 200 with title DeepSeek Harness. A request using an untrusted Host returned 403. Tokens/cookies were used internally only and never printed or stored in Git. Final image ID before transfer: sha256:7b774370e12bfac20f885726de54366106f7f440fa5688c3412cc07e8fc68776, size 1200024822 bytes. The model provider is still unconfigured.

On Unraid the imported image ID is sha256:6af3714388b6eaccff05d61ce4576548054091812ac034493ba97716a3038cd6. Because that differs from the source daemon's image ID, the imported public launcher/entrypoint hashes and actual package version were independently verified before startup: version 0.2.0-rc.2, UID 1000, launcher SHA256 037e95475b44c0f1232e55949da5ae7f15d2300415b47044908afc79a38e4499 and entrypoint SHA256 5c94620a73fccd7861eff7024521e6a854e41cfa31f07f8539010b4032e81508. The ID difference is recorded rather than asserting identical image IDs. Startup confirms bridge LAN binding 192.168.1.2:3081, 2147483648-byte limit, 1000000000 NanoCPUs and UID/GID 1000:1000.

Final Unraid acceptance

The running Unraid container announced readiness. Its own launch URL returned HTTP 303 and set a session cookie; the following authenticated root request returned HTTP 200 and title DeepSeek Harness. No startup/login credential was printed during verification. The transient Athena smoke container was stopped and removed. Existing Unraid/Athena services were not restarted.

Initial browser access: Unraid Docker tab → DeepSeek-Harness → Logs → open the startup URL printed there. Thereafter use the WebUI button while the browser cookie remains valid. The plain root link alone does not replace first login. Select /workspace and add the intended model/provider in the UI; no inference or shell-tool task was tested because no model credential/provider was set.