From 169410e3dcc806ca1e768af40fa98865d748287a Mon Sep 17 00:00:00 2001 From: jenstandstad Date: Fri, 17 Apr 2026 21:45:05 +0200 Subject: [PATCH] Adding multiple instances, one per agent --- docker-compose.yml | 96 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 88 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index cffb9fc..b88382b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,19 +1,94 @@ services: - agent0: + dobby: image: agent0ai/agent-zero:latest - container_name: agent0 + container_name: dobby ports: - - "50001:80" # local dev access — not needed once tunnel is running + - "50001:80" volumes: - - ./agent-zero-data:/a0/usr - - ./agent-zero-data/ssh:/root/.ssh # persist SSH keys across container restarts + - ./agents/dobby:/a0/usr + - ${HOME}/.ssh:/root/.ssh restart: unless-stopped environment: AUTH_LOGIN: ${AUTH_LOGIN} AUTH_PASSWORD: ${AUTH_PASSWORD} extra_hosts: - - "host.docker.internal:host-gateway" # reach host Ollama at http://host.docker.internal:11434 + - "host.docker.internal:host-gateway" + + gemma: + image: agent0ai/agent-zero:latest + container_name: gemma + ports: + - "50002:80" + volumes: + - ./agents/gemma:/a0/usr + - ${HOME}/.ssh:/root/.ssh + restart: unless-stopped + environment: + AUTH_LOGIN: ${AUTH_LOGIN} + AUTH_PASSWORD: ${AUTH_PASSWORD} + extra_hosts: + - "host.docker.internal:host-gateway" + + gunnar: + image: agent0ai/agent-zero:latest + container_name: gunnar + ports: + - "50003:80" + volumes: + - ./agents/gunnar:/a0/usr + - ${HOME}/.ssh:/root/.ssh + restart: unless-stopped + environment: + AUTH_LOGIN: ${AUTH_LOGIN} + AUTH_PASSWORD: ${AUTH_PASSWORD} + extra_hosts: + - "host.docker.internal:host-gateway" + + rind: + image: agent0ai/agent-zero:latest + container_name: rind + ports: + - "50005:80" + volumes: + - ./agents/rind:/a0/usr + - ${HOME}/.ssh:/root/.ssh + restart: unless-stopped + environment: + AUTH_LOGIN: ${AUTH_LOGIN} + AUTH_PASSWORD: ${AUTH_PASSWORD} + extra_hosts: + - "host.docker.internal:host-gateway" + + abyssinthia: + image: agent0ai/agent-zero:latest + container_name: abyssinthia + ports: + - "50006:80" + volumes: + - ./agents/abyssinthia:/a0/usr + - ${HOME}/.ssh:/root/.ssh + restart: unless-stopped + environment: + AUTH_LOGIN: ${AUTH_LOGIN} + AUTH_PASSWORD: ${AUTH_PASSWORD} + extra_hosts: + - "host.docker.internal:host-gateway" + + gerhard: + image: agent0ai/agent-zero:latest + container_name: gerhard + ports: + - "50007:80" + volumes: + - ./agents/gerhard:/a0/usr + - ${HOME}/.ssh:/root/.ssh + restart: unless-stopped + environment: + AUTH_LOGIN: ${AUTH_LOGIN} + AUTH_PASSWORD: ${AUTH_PASSWORD} + extra_hosts: + - "host.docker.internal:host-gateway" glitch-tunnel: build: @@ -22,6 +97,11 @@ services: container_name: glitch-tunnel restart: always volumes: - - ./tunnel:/run/tunnel:ro # SSH key + known_hosts, generated by setup-tunnel.sh + - ./tunnel:/run/tunnel:ro depends_on: - - agent0 + - dobby + - gemma + - gunnar + - rind + - abyssinthia + - gerhard