Local model runtime for the AI stacks.
ai-llms-networkexists or will be created manually.- You have enough RAM for the models you plan to load.
open-web-uiandliteLLMwill reach this service asollama.
cp .env.example .env
docker network inspect ai-llms-network >/dev/null 2>&1 || docker network create ai-llms-network
docker compose config
docker compose up -d
docker compose pshttp://localhost:11434
- Set
OLLAMA_UIDandOLLAMA_GIDif you need different file ownership on the host. - Change
OLLAMA_PORTif11434is already in use. - Increase the memory limit in
docker-compose.ymlif you plan to load heavier models.
curl -s http://127.0.0.1:11434/api/tags
docker exec ollama ollama list
docker compose logs -f ollama- If the API is up but models fail to load, the usual cause is memory pressure, not networking.
- If downloads fail or the model directory is empty, check the container user mapping and host storage permissions.