fix: update compose submodule for Matrix bridge deps + persistent venv #63
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/hermes-matrix-deps-venv-persist"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Updates
assets/composesubmodule to commit8adbbf0on compose branchfix/matrix-bridge-deps.Motivation
The Hermes container's Matrix gateway (
gateway/platforms/matrix.py) requiresmautrix[encryption]andopenaiPython packages. These were not installed in the Docker image because the Dockerfile installs hermes-agent with--no-deps, skipping all optional dependency groups.Changes
compose/ai/compose.yml
Entrypoint now activates the venv and runs
uv pip install openai 'mautrix[encryption]'before the official entrypoint.sh. Handles first-boot with empty persistent volume by recreating the venv from scratch.Volume mount at
/mnt/HoardingCow_docker_data/Hermes/venv:/opt/hermes/.venvpersists the venv across container recreation so packages don't need re-downloading.Verification
After deploy, run:
Related
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.