Thank you for the reply. I used docker-compose.yml And the proper pip packages. Spun up both with Ollama, and just got things wired up and working. I’m using Qwen3-VL-2B series, since it’s light weight, and saving to my db, so the model can be familiar with my guest. Added the admin panel to pass more info in, and set mood. Took me all day to finically get a clean build, and no pm2 restarts. But docker spun up clean, and was the easiest part. My agent.py was the doozy.
I found out that they are not LiveKit dependencies. The main thing is I finally have a talking avatar, and tickled it works.
Thank you for the great info, and reply. It did share more insight, and was helpful. Most of all, thank you for your time, and good wishes.
the docker file i used. I’ve added cpu and ram limits, and a few others settings. but, this will get you up, in docker. For those who are selfhosting, and need a quick startup.
docker-compose.yml
services:
# The Ollama Engine
ollama-service:
image: ollama/ollama:latest
container_name: ollama-service
ports:
- "11434:11434"
dns:
- 1.1.1.1
- 8.8.8.8
volumes:
- ./ollama-data:/root/.ollama
restart: unless-stopped
# Local Whisper API for Speech-to-Text
whisper-api:
image: onerahmet/openai-whisper-asr-webservice:latest
container_name: whisper-api
restart: unless-stopped
ports:
- "9000:9000"
volumes:
- ./whisper_models:/root/.cache/whisper
environment:
- ASR_MODEL=base
- ASR_ENGINE=openai_whisper
# Local Piper service for Text-to-Speech
piper-tts:
image: rhasspy/wyoming-piper:latest
container_name: piper-tts
restart: unless-stopped
ports:
- "5000:5000"
command: --model en_US-lessac-medium.onnx
## pip installs
pip install livekit-agents livekit-plugins-openai livekit-plugins-silero livekit-plugins-piper-tts requests