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
This commit is contained in:
@@ -30,10 +30,10 @@ services:
|
|||||||
container_name: hermes
|
container_name: hermes
|
||||||
restart: always
|
restart: always
|
||||||
# Gateway run enables the internal API server on port 8642
|
# 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
|
# Uses uv (modern Python package manager) with --system flag for venv installation
|
||||||
entrypoint: >
|
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:
|
environment:
|
||||||
- OLLAMA_HOST=http://ollama:11434
|
- OLLAMA_HOST=http://ollama:11434
|
||||||
- API_SERVER_ENABLED=true
|
- API_SERVER_ENABLED=true
|
||||||
|
|||||||
Reference in New Issue
Block a user