diff --git a/integrations/hermes-unraid/webui/README.md b/integrations/hermes-unraid/webui/README.md new file mode 100644 index 0000000..fdebd87 --- /dev/null +++ b/integrations/hermes-unraid/webui/README.md @@ -0,0 +1,104 @@ +# nesquena Hermes-WebUI on Unraid — 2026-10-16 + +## Deployment and provenance + +User requested a separate graphical Hermes WebUI, preferring Community Apps, +otherwise the upstream published image and a proper Unraid XML template. +Community Apps lists Hermes-WebUI but marks it deprecated. The maintainer moved +its template to `templates/deprecated/hermes-webui.xml`, citing source-volume +complexity. The local template is adapted from that template; it does not depend +on the obsolete named-source-volume scheme. + +- Upstream: https://github.com/nesquena/hermes-webui +- Source inspected: `757c5484ddf42f8add126262fcbc3406ae151861` (2026-10-16). +- Published image: `ghcr.io/nesquena/hermes-webui:latest`. +- Pulled digest: `sha256:33262f767159f0c0257b9e84b0eb5d8335578c22511930cc8389051ae860843b`. +- Container: `Hermes-WebUI`; standard `bridge` network. +- LAN URL: http://192.168.1.2:8787/ +- User template: `/boot/config/plugins/dockerMan/templates-user/my-Hermes-WebUI.xml`. +- Template source: [my-Hermes-WebUI.xml](my-Hermes-WebUI.xml). +- Upstream CA template: https://github.com/mmartial/unraid-templates/blob/main/templates/deprecated/hermes-webui.xml +- CA listing: https://ca.unraid.net/apps/hermes-webui-09cr7mf0v6vxrf + +Configured official gateway-backed chat with Runs API, pointing to the existing +Hermes-Agent at `http://192.168.1.2:8642`. No source patches, local image build, +new agent gateway, production-home mount, Docker socket, GPU access or privileged +mode. The WebUI has a separate minimal configuration, seeded from the existing +Athena provider/model catalog. Its browser model list shows the 12 Athena model +IDs. Existing Hermes-Agent config, skills, memory, sessions, services and OpenWebUI +were not modified or restarted. Gateway execution uses the existing agent. + +The WebUI runtime deliberately has no Hermes agent source mount; the image's +upstream entrypoint supports reduced-functionality startup in that case. Local +agent import, CLI history import and local management panels are not verified +and must not be described as a complete mirror of the running Hermes. Gateway +chat was tested independently of those local management features. + +## Persistence and credentials + +Root: `/mnt/nvme-storage/appdata/Hermes-WebUI`: + +- `home` → `/home/hermeswebui/.hermes`: isolated config and `webui` session state. +- `workspace` → `/workspace`: own initially empty local workspace. +- `app` → `/app`: entrypoint-managed application copy/venv, reproducible runtime. +- `cache` → `/uv_cache`: dependency cache, reconstructable. +- `private/runtime.env`: root-owned 0600, private directory 0700; passed through + Docker `--env-file`. Holds the existing Hermes API key, existing Athena provider + key and the existing Hermes dashboard password (copied internally, never + printed). No credential values in this repository or template. + +Login uses the existing Hermes dashboard password; no username is requested by +this application's login form. Root entrypoint aligns UID/GID to 99:100 and drops +to the application user. The container is limited to 2 CPUs / 2 GiB RAM, no swap +above its memory limit, and restarts unless stopped. No public reverse proxy was +configured; binding is host LAN IP 192.168.1.2 on port 8787. + +Important separation: the WebUI file panel browses its local `/workspace`; +Hermes tools retain the existing gateway's configured execution backend. These +are not established as the same filesystem. Generated remote local-file image +paths may require supported gateway artifact transport; do not claim that +image delivery works before a real test. No share mounts were added. + +## Verified + +- HTTP `/health` returned 200. +- Authenticated browser login worked. +- Graphical chat and Athena model menu rendered. +- Synthetic browser session `96cffa8464d7`: instructed one terminal `printf` + call; live tool output contained `HERMES_WEBUI_TOOL_OK`, exit 0; final answer + confirmed the result. The UI displayed the tool activity under Processed. +- From the new WebUI container, authenticated existing gateway + `/health/detailed` returned HTTP 200. +- Runtime explicitly reports `HERMES_WEBUI_CHAT_BACKEND=gateway` and + `HERMES_WEBUI_GATEWAY_USE_RUNS_API=true`. + +Not verified: generated image from Athena, image attachments/vision, approvals, +clarifications, model-switch inference for every profile, memory/skills management +panels or workspace equivalence. Installing/running is not an end-to-end proof of +all advertised upstream features. + +## Backup, restore, update, removal + +Include `home`, `workspace`, `private/runtime.env` and the installed user-template +XML in the private encrypted Unraid backup. Do not put appdata, passwords or keys +in Git. `app` and `cache` can be recreated by the published image's standard +entrypoint; retain enough disk/time/network access for dependency setup. For a +reproducible restore use the recorded image digest rather than assuming today's +`latest` is identical. Restore ownership (99:100 for application paths, root-only +private env), verify the gateway endpoint/key, then install from the user XML. +The template requires that private env file to exist before startup. Check health, +login and an actual tool call again; no full restore has been performed here. + +This is an optional Unraid client, not a dependency of native Athena Deck. A fresh +native Athena install does not require this container. Its restore belongs to +Unraid's Docker/appdata restoration, separate from Athena model/runtime restore. + +For updates, stop only this WebUI when idle and update its published image through +Unraid; do not restart Hermes-Agent incidentally. The persistent `/app` directory +is refreshed by the upstream entrypoint. Removing this UI requires only its own +container, template and own appdata; never delete Hermes-Agent's production home. + +Official Unraid template storage reference: +https://docs.unraid.net/unraid-os/manual/applications/ +Gateway mode documentation: +https://github.com/nesquena/hermes-webui/blob/master/docs/advanced-chat-setup.md diff --git a/integrations/hermes-unraid/webui/my-Hermes-WebUI.xml b/integrations/hermes-unraid/webui/my-Hermes-WebUI.xml new file mode 100644 index 0000000..633c108 --- /dev/null +++ b/integrations/hermes-unraid/webui/my-Hermes-WebUI.xml @@ -0,0 +1,44 @@ + + + Hermes-WebUI + ghcr.io/nesquena/hermes-webui:latest + https://ghcr.io/nesquena/hermes-webui/ + https://github.com/nesquena/hermes-webui + https://github.com/nesquena/hermes-webui + + https://raw.githubusercontent.com/nesquena/hermes-webui/refs/heads/master/static/favicon.svg + AI + bridge + http://[IP]:[PORT:8787]/ + + bash + false + --env-file=/mnt/nvme-storage/appdata/Hermes-WebUI/private/runtime.env --cpus=2 --memory=2g --memory-swap=2g --restart=unless-stopped + Existing Hermes-Agent API on 192.168.1.2:8642. Isolated WebUI state; official gateway backend with Runs API. + + Grafische Hermes-WebUI von nesquena. Verbindet sich mit dem vorhandenen Hermes-Gateway. Eigene persistente WebUI-Daten; keine bestehenden Hermes-Dateien eingebunden. Kennwort entspricht dem bestehenden Hermes-Dashboard-Kennwort. + https://github.com/nesquena/hermes-webui + 2026-10-16 + Local adaptation of deprecated mmartial template for official gateway-backed chat; private env file contains credentials, not this XML. + + + + 8787 + /mnt/nvme-storage/appdata/Hermes-WebUI/home + /mnt/nvme-storage/appdata/Hermes-WebUI/app + /mnt/nvme-storage/appdata/Hermes-WebUI/workspace + /mnt/nvme-storage/appdata/Hermes-WebUI/cache + 99 + 100 + /home/hermeswebui/.hermes + /home/hermeswebui/.hermes/webui + /workspace + 0.0.0.0 + 8787 + gateway + http://192.168.1.2:8642 + http://192.168.1.2:8642 + true + 1 + Europe/Berlin + \ No newline at end of file