From b9c22e634cae41153b6f77060d411fab302bcc0e Mon Sep 17 00:00:00 2001 From: Yiorgis Gozadinos Date: Thu, 16 Oct 2025 17:25:02 +0300 Subject: [PATCH] Update docs to refer to docker --- .dockerignore | 6 +++++- docker/README.md | 14 ++++++++++---- docs/installation.md | 14 ++++++++++++++ 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/.dockerignore b/.dockerignore index 56471e91..d2dc3d3c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -28,6 +28,9 @@ env/ # Data *.lancedb/ data/ + +# Docs +mkdocs.yml docs/ # IDE @@ -50,6 +53,7 @@ tests/ .pytest_cache/ .coverage htmlcov/ - +src/evaluations/ +server.json # Examples examples/ diff --git a/docker/README.md b/docker/README.md index bc621886..354aaa8a 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,11 +1,11 @@ # haiku.rag Docker Image -Dockerfile for building haiku.rag with all extras (voyageai, mxbai, a2a). +Pre-built images are available at `ghcr.io/ggozad/haiku.rag` with all extras (voyageai, mxbai, a2a). -## Building +## Using Pre-built Image ```bash -docker build -f docker/Dockerfile -t haiku-rag . +docker pull ghcr.io/ggozad/haiku.rag:latest ``` ## Running @@ -17,7 +17,13 @@ docker run -p 8000:8000 -p 8001:8001 \ -e EMBEDDINGS_MODEL=nomic-embed-text \ -e QA_PROVIDER=ollama \ -e QA_MODEL=qwen3\ - haiku-rag + ghcr.io/ggozad/haiku.rag:latest +``` + +## Building Locally + +```bash +docker build -f docker/Dockerfile -t haiku-rag . ``` Note: The environment variables above override the defaults. See [Configuration docs](https://ggozad.github.io/haiku.rag/configuration/) for all options. diff --git a/docs/installation.md b/docs/installation.md index 40487998..d05cb621 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -82,3 +82,17 @@ haiku-rag download-models ``` This will download Docling models and pull any Ollama models referenced by your current configuration. + +## Docker + +```bash +docker pull ghcr.io/ggozad/haiku.rag:latest +``` + +Run the container with all services: + +```bash +docker run -p 8000:8000 -p 8001:8001 -v $(pwd)/data:/data ghcr.io/ggozad/haiku.rag:latest +``` + +This starts the MCP server on port 8001 and A2A server on port 8000, with data persisted to `./data`.