mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-04 20:13:20 +00:00
Drop the history and roadmap asides: which services predate the collection's
conventions, the unwired Open Web UI plan, the generic clone-and-troubleshoot
boilerplate. Services that publish ports or set `restart:` now simply say so.
couchbase, openvpn-as and traffmonetizer had two-line READMEs; give them the
ports, variables and storage the root README promises. traffmonetizer reads
${TOKEN} and had no .env.example, so add one.
ollama
Ollama LLM server. CPU-only.
Uses docker-compose.yml, publishes 11434, and sets
restart: unless-stopped and container_name: ollama — unlike the
platform-managed services described in the root README.
Usage
docker compose exec ollama ollama pull llama3.2
docker compose exec ollama ollama run llama3.2
The API is on http://localhost:11434:
curl http://localhost:11434/api/generate -d '{
"model": "llama3.2",
"prompt": "Why is the sky blue?",
"stream": false
}'
For GPU, add deploy.resources.reservations.devices for the NVIDIA runtime —
see the Ollama Docker docs.
Storage
ollama at /root/.ollama — pulled models and manifests.