AI processing..
The repository contains Docker helper commands and quick run instructions:
# show running containers
docker ps --format '{{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}'
# create and inspect docker network
docker network create avatar-net || true
docker network connect avatar-net dazzling_clarke || true
docker network connect avatar-net jolly_edison || true
docker network inspect avatar-net --format '{{json .Containers}}'
# build orchestrator docker
docker build -f Dockerfile.orchestrator -t orch_test:latest .
# stop & remove old container (if running)
docker stop orch_test || true
docker rm orch_test || true
# start new container from the rebuilt image
docker run -d --name orch_test -p 5002:5002 -e LLM_HOST=host.docker.internal -e LLM_PORT=11434 orch_test:latest
sleep 1.0; curl -sS http://127.0.0.1:5002/health || true; echo; echo '---'; curl -N 'http://127.0.0.1:5002/chat_sse?text=what%20is%20your%20name&show_raw=1' --max-time 10
docker-compose up -d --force-recreate orchestrator
# build xtts docker
docker build -f Dockerfile.xtts -t avatar-xtts:latest .
docker stop avatar-xtts || true
docker rm avatar-xtts || true
docker run -d --name avatar-xtts -p 5001:5001 avatar-xtts:latest
# check Ollama
lsof -nP -iTCP:11434 -sTCP:LISTEN
curl -s -o /dev/null -w 'local %{http_code}\n' http://127.0.0.1:11434/v1/models
curl -s -o /dev/null -w 'lan %{http_code}\n' http://10.1.1.95:11434/v1/models
curl -s -o /dev/null -w 'public %{http_code}\n' http://vcarer.ddns.net:11434/v1/models
launchctl unload ~/Library/LaunchAgents/com.local.ollama.serve.plist
launchctl load ~/Library/LaunchAgents/com.local.ollama.serve.plist