Adding HERMES container

This commit is contained in:
2026-05-09 17:30:11 +02:00
parent 0298be301b
commit 774dcfb37a
2 changed files with 32 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
.env
+30
View File
@@ -48,6 +48,19 @@ services:
command: ["python3", "/scripts/pull-agent-identity.py"]
restart: "no"
hermes-init:
image: python:3.12-alpine
volumes:
- ./agents/hermes:/a0/usr
- ./scripts:/scripts:ro
environment:
AGENT_ID: ${HERMES_AGENT_ID:-}
AGENT_TYPE: agent0
CONTENT_API_URL: ${API_URL}
CONTENT_API_KEY: ${CONTENT_API_KEY}
command: ["python3", "/scripts/pull-agent-identity.py"]
restart: "no"
rind-init:
image: python:3.12-alpine
volumes:
@@ -165,6 +178,23 @@ services:
AUTH_PASSWORD: ${AUTH_PASSWORD}
extra_hosts:
- "host.docker.internal:host-gateway"
hermes:
image: agent0ai/agent-zero:latest
container_name: herms
ports:
- "50003:80"
volumes:
- ./agents/hermes:/a0/usr
- ${HOME}/.ssh:/root/.ssh
restart: unless-stopped
depends_on:
hermes-init:
condition: service_completed_successfully
environment:
AUTH_LOGIN: ${AUTH_LOGIN}
AUTH_PASSWORD: ${AUTH_PASSWORD}
extra_hosts:
- "host.docker.internal:host-gateway"
# ── Hermes agent ───────────────────────────────────────────────────────────