28 lines
816 B
YAML
28 lines
816 B
YAML
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
|
|
- ./agent-zero-data/ssh:/root/.ssh # persist SSH keys across container restarts
|
|
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
|
|
|
|
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
|