Compare commits

..

2 Commits

Author SHA1 Message Date
Thierry Pouplier
2aab06cc1a fix: use mautrix[encryption] instead of matrix-nio for Matrix bridge
The Hermes Matrix gateway uses the mautrix SDK, not matrix-nio.
This fixes E2EE support by installing the correct library.

Refs: PR #2
2026-04-29 03:34:15 +00:00
Thierry Pouplier
a404f5e2c4 fix: Correct OPENROUTER_API_KEY variable name 2026-04-29 02:43:35 +00:00

View File

@@ -30,10 +30,10 @@ services:
container_name: hermes
restart: always
# Gateway run enables the internal API server on port 8642
# Install openai and matrix-nio for Matrix bridge compatibility on startup
# Install openai and mautrix[encryption] for Matrix bridge with E2EE support on startup
# Uses uv (modern Python package manager) with --system flag for venv installation
entrypoint: >
sh -c "/opt/hermes/.venv/bin/uv pip install openai matrix-nio[encryption] --system -q && /opt/hermes/.venv/bin/hermes gateway run"
sh -c "/opt/hermes/.venv/bin/uv pip install openai mautrix[encryption] --system -q && /opt/hermes/.venv/bin/hermes gateway run"
environment:
- OLLAMA_HOST=http://ollama:11434
- API_SERVER_ENABLED=true
@@ -41,7 +41,7 @@ services:
- API_SERVER_HOST=0.0.0.0
- API_SERVER_KEY=hermes_local_key
- GATEWAY_ALLOW_ALL_USERS=true
- OPENROUTER_API_KEY=${OPEN...KEY}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
volumes:
- /mnt/HoardingCow_docker_data/Hermes/data:/opt/data
- /mnt/HoardingCow_docker_data/Hermes/venv:/opt/hermes/.venv