fix: update compose submodule for Matrix bridge deps + persistent venv #63

Open
Hermes wants to merge 1 commits from fix/hermes-matrix-deps-venv-persist into master
Collaborator

Summary

Updates assets/compose submodule to commit 8adbbf0 on compose branch fix/matrix-bridge-deps.

Motivation

The Hermes container's Matrix gateway (gateway/platforms/matrix.py) requires mautrix[encryption] and openai Python 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/.venv persists the venv across container recreation so packages don't need re-downloading.

Verification

After deploy, run:

docker exec hermes /opt/hermes/.venv/bin/python -c "import openai; from mautrix.api import HTTPAPI; print('OK')"
## Summary Updates `assets/compose` submodule to commit `8adbbf0` on compose branch `fix/matrix-bridge-deps`. ## Motivation The Hermes container's Matrix gateway (`gateway/platforms/matrix.py`) requires `mautrix[encryption]` and `openai` Python 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/.venv` persists the venv across container recreation so packages don't need re-downloading. ### Verification After deploy, run: ``` docker exec hermes /opt/hermes/.venv/bin/python -c "import openai; from mautrix.api import HTTPAPI; print('OK')" ``` ## Related - Replaces stale PR #59 (pointed to a deleted compose branch) - Closes issue #62
Hermes added 2 commits 2026-05-20 18:37:01 +00:00
- New NixOS host 'uConsole' for ClockworkPi CM5 portable terminal
- flake.nix: add nixos-uconsole and nixos-raspberrypi inputs
- Imports: nixos-uconsole.nixosModules.uconsole-cm5,
  nixos-raspberrypi.nixosModules.raspberry-pi-5.base
- Full package list: base tools, HAM radio, SDR/RF, mesh/LoRa,
  security tools, GPS/maps
- Reticulum stack (rns 1.2.9, lxmf 0.9.8, nomadnet 1.1.1) built
  from PyPI via overlays/reticulum.nix
- systemd services: rnsd (Reticulum daemon), kismet (Wi-Fi IDS)
- Kernel modules for SDR (rtl-sdr, dvb) and USB WiFi
- Follows existing host config conventions (cyt-pi as template)
Updates assets/compose submodule to 8adbbf0 (compose fix/matrix-bridge-deps).

Compose commit adds:
- uv pip install openai mautrix[encryption] to hermes entrypoint
- Persistent venv volume at /opt/hermes/.venv
- Empty-volume first-boot handling (venv recreation)

This ensures Matrix bridge dependencies survive container recreation.
This pull request has changes conflicting with the target branch.
  • assets/compose
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/hermes-matrix-deps-venv-persist:fix/hermes-matrix-deps-venv-persist
git checkout fix/hermes-matrix-deps-venv-persist
Sign in to join this conversation.
No description provided.