Compare commits
3 Commits
f9fb28d560
...
2aab06cc1a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2aab06cc1a | ||
|
|
a404f5e2c4 | ||
|
|
f9afd79f3e |
6
ai/compose.yml
Normal file → Executable file
6
ai/compose.yml
Normal file → Executable file
@@ -30,7 +30,10 @@ services:
|
||||
container_name: hermes
|
||||
restart: always
|
||||
# Gateway run enables the internal API server on port 8642
|
||||
command: gateway run
|
||||
# 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 mautrix[encryption] --system -q && /opt/hermes/.venv/bin/hermes gateway run"
|
||||
environment:
|
||||
- OLLAMA_HOST=http://ollama:11434
|
||||
- API_SERVER_ENABLED=true
|
||||
@@ -41,6 +44,7 @@ services:
|
||||
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
|
||||
volumes:
|
||||
- /mnt/HoardingCow_docker_data/Hermes/data:/opt/data
|
||||
- /mnt/HoardingCow_docker_data/Hermes/venv:/opt/hermes/.venv
|
||||
devices:
|
||||
- /dev/kfd:/dev/kfd
|
||||
- /dev/dri:/dev/dri
|
||||
|
||||
Reference in New Issue
Block a user