Compare commits
1 Commits
2aab06cc1a
...
feature/he
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5030df475 |
10
ai/compose.yml
Executable file → Normal file
10
ai/compose.yml
Executable file → Normal file
@@ -26,14 +26,13 @@ services:
|
||||
- "traefik.http.routers.webui-https.tls.certresolver=njalla"
|
||||
|
||||
hermes:
|
||||
image: nousresearch/hermes-agent:latest
|
||||
build:
|
||||
context: ./hermes
|
||||
dockerfile: Dockerfile
|
||||
container_name: hermes
|
||||
restart: always
|
||||
# Gateway run enables the internal API server on port 8642
|
||||
# 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"
|
||||
command: gateway run
|
||||
environment:
|
||||
- OLLAMA_HOST=http://ollama:11434
|
||||
- API_SERVER_ENABLED=true
|
||||
@@ -44,7 +43,6 @@ 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
|
||||
|
||||
10
ai/hermes/Dockerfile
Normal file
10
ai/hermes/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM nousresearch/hermes-agent:latest
|
||||
|
||||
# Install Chromium for browser tool
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
chromium \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& apt-get clean
|
||||
|
||||
# Set environment variable for Chromium path
|
||||
ENV CHROME_EXECUTABLE=/usr/bin/chromium
|
||||
Reference in New Issue
Block a user