From 774dcfb37a5134e833f6a2a42a023223d7d383c5 Mon Sep 17 00:00:00 2001 From: jenstandstad Date: Sat, 9 May 2026 17:30:11 +0200 Subject: [PATCH] Adding HERMES container --- age | 1 + docker-compose.yml | 32 +++++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 age diff --git a/age b/age new file mode 100644 index 0000000..2eea525 --- /dev/null +++ b/age @@ -0,0 +1 @@ +.env \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 5688674..fc0f071 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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,7 +178,24 @@ 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 ─────────────────────────────────────────────────────────── gerhard: