Adding multiple instances, one per agent
This commit is contained in:
+88
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user