services: agent0: image: agent0ai/agent-zero:latest container_name: agent0 ports: - "50001:80" # local dev access — not needed once tunnel is running volumes: - ./agent-zero-data:/a0/usr restart: unless-stopped 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