Update docs to refer to docker
This commit is contained in:
parent
bddf20390b
commit
b9c22e634c
3 changed files with 29 additions and 5 deletions
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue