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
|
# Data
|
||||||
*.lancedb/
|
*.lancedb/
|
||||||
data/
|
data/
|
||||||
|
|
||||||
|
# Docs
|
||||||
|
mkdocs.yml
|
||||||
docs/
|
docs/
|
||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
|
|
@ -50,6 +53,7 @@ tests/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
.coverage
|
.coverage
|
||||||
htmlcov/
|
htmlcov/
|
||||||
|
src/evaluations/
|
||||||
|
server.json
|
||||||
# Examples
|
# Examples
|
||||||
examples/
|
examples/
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
# haiku.rag Docker Image
|
# 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
|
```bash
|
||||||
docker build -f docker/Dockerfile -t haiku-rag .
|
docker pull ghcr.io/ggozad/haiku.rag:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
@ -17,7 +17,13 @@ docker run -p 8000:8000 -p 8001:8001 \
|
||||||
-e EMBEDDINGS_MODEL=nomic-embed-text \
|
-e EMBEDDINGS_MODEL=nomic-embed-text \
|
||||||
-e QA_PROVIDER=ollama \
|
-e QA_PROVIDER=ollama \
|
||||||
-e QA_MODEL=qwen3\
|
-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.
|
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.
|
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