docs: register isolated Hermes WebUI on Unraid with gateway chat
This commit is contained in:
1 parent
df7b9ffcee
commit
31eb9b1e56
2 files changed
+148
No files matched your search
@@ -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
|
||||
@@ -0,0 +1,44 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<Container version="2">
|
||||
<Name>Hermes-WebUI</Name>
|
||||
<Repository>ghcr.io/nesquena/hermes-webui:latest</Repository>
|
||||
<Registry>https://ghcr.io/nesquena/hermes-webui/</Registry>
|
||||
<Support>https://github.com/nesquena/hermes-webui</Support>
|
||||
<Project>https://github.com/nesquena/hermes-webui</Project>
|
||||
<TemplateURL />
|
||||
<Icon>https://raw.githubusercontent.com/nesquena/hermes-webui/refs/heads/master/static/favicon.svg</Icon>
|
||||
<Category>AI</Category>
|
||||
<Network>bridge</Network>
|
||||
<WebUI>http://[IP]:[PORT:8787]/</WebUI>
|
||||
<MyIP />
|
||||
<Shell>bash</Shell>
|
||||
<Privileged>false</Privileged>
|
||||
<ExtraParams>--env-file=/mnt/nvme-storage/appdata/Hermes-WebUI/private/runtime.env --cpus=2 --memory=2g --memory-swap=2g --restart=unless-stopped</ExtraParams>
|
||||
<Requires>Existing Hermes-Agent API on 192.168.1.2:8642. Isolated WebUI state; official gateway backend with Runs API.</Requires>
|
||||
<PostArgs />
|
||||
<Overview>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.</Overview>
|
||||
<Readme>https://github.com/nesquena/hermes-webui</Readme>
|
||||
<Date>2026-10-16</Date>
|
||||
<Changes>Local adaptation of deprecated mmartial template for official gateway-backed chat; private env file contains credentials, not this XML.</Changes>
|
||||
<CPUset />
|
||||
<DonateText />
|
||||
<DonateLink />
|
||||
<Config Name="WebUI Port" Target="8787" Default="8787" Mode="tcp" Description="WebUI Port" Type="Port" Display="always" Required="true" Mask="false">8787</Config>
|
||||
<Config Name="Appdata home" Target="/home/hermeswebui/.hermes" Default="/mnt/nvme-storage/appdata/Hermes-WebUI/home" Mode="rw" Description="Appdata home" Type="Path" Display="always" Required="true" Mask="false">/mnt/nvme-storage/appdata/Hermes-WebUI/home</Config>
|
||||
<Config Name="Persistent application runtime" Target="/app" Default="/mnt/nvme-storage/appdata/Hermes-WebUI/app" Mode="rw" Description="Persistent application runtime" Type="Path" Display="always" Required="true" Mask="false">/mnt/nvme-storage/appdata/Hermes-WebUI/app</Config>
|
||||
<Config Name="Own workspace" Target="/workspace" Default="/mnt/nvme-storage/appdata/Hermes-WebUI/workspace" Mode="rw" Description="Own workspace" Type="Path" Display="always" Required="true" Mask="false">/mnt/nvme-storage/appdata/Hermes-WebUI/workspace</Config>
|
||||
<Config Name="Dependency cache" Target="/uv_cache" Default="/mnt/nvme-storage/appdata/Hermes-WebUI/cache" Mode="rw" Description="Dependency cache" Type="Path" Display="always" Required="true" Mask="false">/mnt/nvme-storage/appdata/Hermes-WebUI/cache</Config>
|
||||
<Config Name="WANTED_UID" Target="WANTED_UID" Default="99" Mode="" Description="WANTED_UID" Type="Variable" Display="advanced" Required="true" Mask="false">99</Config>
|
||||
<Config Name="WANTED_GID" Target="WANTED_GID" Default="100" Mode="" Description="WANTED_GID" Type="Variable" Display="advanced" Required="true" Mask="false">100</Config>
|
||||
<Config Name="HERMES_HOME" Target="HERMES_HOME" Default="/home/hermeswebui/.hermes" Mode="" Description="HERMES_HOME" Type="Variable" Display="advanced" Required="true" Mask="false">/home/hermeswebui/.hermes</Config>
|
||||
<Config Name="HERMES_WEBUI_STATE_DIR" Target="HERMES_WEBUI_STATE_DIR" Default="/home/hermeswebui/.hermes/webui" Mode="" Description="HERMES_WEBUI_STATE_DIR" Type="Variable" Display="advanced" Required="true" Mask="false">/home/hermeswebui/.hermes/webui</Config>
|
||||
<Config Name="HERMES_WEBUI_DEFAULT_WORKSPACE" Target="HERMES_WEBUI_DEFAULT_WORKSPACE" Default="/workspace" Mode="" Description="HERMES_WEBUI_DEFAULT_WORKSPACE" Type="Variable" Display="advanced" Required="true" Mask="false">/workspace</Config>
|
||||
<Config Name="HERMES_WEBUI_HOST" Target="HERMES_WEBUI_HOST" Default="0.0.0.0" Mode="" Description="HERMES_WEBUI_HOST" Type="Variable" Display="advanced" Required="true" Mask="false">0.0.0.0</Config>
|
||||
<Config Name="HERMES_WEBUI_PORT" Target="HERMES_WEBUI_PORT" Default="8787" Mode="" Description="HERMES_WEBUI_PORT" Type="Variable" Display="advanced" Required="true" Mask="false">8787</Config>
|
||||
<Config Name="HERMES_WEBUI_CHAT_BACKEND" Target="HERMES_WEBUI_CHAT_BACKEND" Default="gateway" Mode="" Description="HERMES_WEBUI_CHAT_BACKEND" Type="Variable" Display="advanced" Required="true" Mask="false">gateway</Config>
|
||||
<Config Name="HERMES_WEBUI_GATEWAY_BASE_URL" Target="HERMES_WEBUI_GATEWAY_BASE_URL" Default="http://192.168.1.2:8642" Mode="" Description="HERMES_WEBUI_GATEWAY_BASE_URL" Type="Variable" Display="advanced" Required="true" Mask="false">http://192.168.1.2:8642</Config>
|
||||
<Config Name="HERMES_API_URL" Target="HERMES_API_URL" Default="http://192.168.1.2:8642" Mode="" Description="HERMES_API_URL" Type="Variable" Display="advanced" Required="true" Mask="false">http://192.168.1.2:8642</Config>
|
||||
<Config Name="HERMES_WEBUI_GATEWAY_USE_RUNS_API" Target="HERMES_WEBUI_GATEWAY_USE_RUNS_API" Default="true" Mode="" Description="HERMES_WEBUI_GATEWAY_USE_RUNS_API" Type="Variable" Display="advanced" Required="true" Mask="false">true</Config>
|
||||
<Config Name="HERMES_WEBUI_SKIP_ONBOARDING" Target="HERMES_WEBUI_SKIP_ONBOARDING" Default="1" Mode="" Description="HERMES_WEBUI_SKIP_ONBOARDING" Type="Variable" Display="advanced" Required="true" Mask="false">1</Config>
|
||||
<Config Name="TZ" Target="TZ" Default="Europe/Berlin" Mode="" Description="TZ" Type="Variable" Display="advanced" Required="true" Mask="false">Europe/Berlin</Config>
|
||||
</Container>
|
||||
Reference in new issue
Block a user