2026-04-11 00:43:18 +02:00
|
|
|
services:
|
2026-04-11 12:59:02 +02:00
|
|
|
|
2026-04-11 00:43:18 +02:00
|
|
|
agent0:
|
|
|
|
|
image: agent0ai/agent-zero:latest
|
|
|
|
|
container_name: agent0
|
|
|
|
|
ports:
|
2026-04-11 12:59:02 +02:00
|
|
|
- "50001:80" # local dev access — not needed once tunnel is running
|
2026-04-11 00:43:18 +02:00
|
|
|
volumes:
|
|
|
|
|
- ./agent-zero-data:/a0/usr
|
|
|
|
|
restart: unless-stopped
|
2026-04-11 12:59:02 +02:00
|
|
|
extra_hosts:
|
|
|
|
|
- "host.docker.internal:host-gateway" # reach host Ollama at http://host.docker.internal:11434
|
|
|
|
|
|
|
|
|
|
glitch-tunnel:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile.tunnel
|
|
|
|
|
container_name: glitch-tunnel
|
|
|
|
|
restart: always
|
|
|
|
|
volumes:
|
|
|
|
|
- ./tunnel:/run/tunnel:ro # SSH key + known_hosts, generated by setup-tunnel.sh
|
|
|
|
|
depends_on:
|
|
|
|
|
- agent0
|