infra: ai compose profile — Ollama + LiteLLM for local dev
#86
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Make it possible to run the full AI stack locally without depending on Agap services.
Services
ollama— imageollama/ollama, port127.0.0.1:11434:11434, volume/mnt/ssd/dbs/oo/ollamafor model weightslitellm— imageghcr.io/berriai/litellm:main-latest, port127.0.0.1:4000:4000, config mountsinfra/litellm/config.yamlEnv vars to document
OLLAMA_URL— defaults tohttp://localhost:11434; in prod points to Agap OllamaLITELLM_URL— defaults tohttp://localhost:4000; in prod points tollm.alogins.netLiteLLM config (
infra/litellm/config.yaml)Notes
aiprofile to existingdocker-compose.ymldocker compose --profile ai up--profile coreor--profile full— just override the env varsdocker exec ollama ollama pull qwen2.5:7b && ollama pull nomic-embed-text