fix(hermes): pin hermes-webui HERMES_HOME to the shared /data home
The unit comment always claimed the webui drives the same agent state as the gateway, but the image bakes HERMES_HOME=/opt/data and no unit overrode it. Podman auto-creates a fresh anonymous volume at every image-VOLUME point on container recreation, so each restart reset the webui's config home to the image-default template (provider: auto -> openrouter.ai with no API key), while the gateway read the corrected /data/config.yaml. Pin HERMES_HOME=/data so both processes share one config/state root and config edits propagate without a recreate.
This commit is contained in:
@@ -30,6 +30,7 @@ EnvironmentFile=/home/dank/serverAppConfigs/dankclaw/.env
|
||||
Environment=HERMES_WEBUI_HOST=0.0.0.0
|
||||
Environment=HERMES_WEBUI_PORT=8787
|
||||
Environment=HERMES_WEBUI_PASSWORD=${HERMES_WEBUI_PASSWORD}
|
||||
Environment=HERMES_HOME=/data
|
||||
# Headless host: never show the first-run wizard (a profile already
|
||||
# exists in /data from the gateway).
|
||||
Environment=HERMES_WEBUI_SKIP_ONBOARDING=1
|
||||
|
||||
Reference in New Issue
Block a user