Enhance DOCKERHUB Prerequisites with detailed setup
This commit is contained in:
62
DOCKERHUB.md
62
DOCKERHUB.md
@@ -197,11 +197,63 @@ conversations with this user and can reference them contextually.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
| Requirement | Description |
|
||||
|-------------|-------------|
|
||||
| **Ollama** | LLM inference server (e.g., `http://10.0.0.10:11434`) |
|
||||
| **Qdrant** | Vector database (e.g., `http://10.0.0.22:6333`) |
|
||||
| **Docker** | Docker installed |
|
||||
### Required Services
|
||||
|
||||
| Service | Version | Description | Install |
|
||||
|---------|---------|-------------|---------|
|
||||
| **Ollama** | 0.1.x+ | LLM inference server | `curl https://ollama.ai/install.sh | sh` |
|
||||
| **Qdrant** | 1.6.x+ | Vector database | `docker run -p 6333:6333 qdrant/qdrant` |
|
||||
| **Docker** | 20.x+ | Container runtime | `curl -fsSL https://get.docker.com | sh` |
|
||||
|
||||
### System Requirements
|
||||
|
||||
| Requirement | Minimum | Recommended |
|
||||
|-------------|---------|-------------|
|
||||
| **CPU** | 2 cores | 4+ cores |
|
||||
| **RAM** | 2 GB | 4+ GB |
|
||||
| **Disk** | 1 GB | 5+ GB |
|
||||
|
||||
### Ollama Setup
|
||||
|
||||
```bash
|
||||
# Install Ollama
|
||||
curl https://ollama.ai/install.sh | sh
|
||||
|
||||
# Pull embedding model (required)
|
||||
ollama pull snowflake-arctic-embed2
|
||||
|
||||
# Pull chat model
|
||||
ollama pull llama3.1
|
||||
|
||||
# Verify
|
||||
curl http://localhost:11434/api/tags
|
||||
```
|
||||
|
||||
### Qdrant Setup
|
||||
|
||||
```bash
|
||||
# Docker run
|
||||
docker run -d --name qdrant -p 6333:6333 qdrant/qdrant
|
||||
|
||||
# Verify
|
||||
curl http://localhost:6333/collections
|
||||
```
|
||||
|
||||
### Embedding Models
|
||||
|
||||
| Model | Dimensions | Notes |
|
||||
|-------|------------|-------|
|
||||
| `snowflake-arctic-embed2` | 1024 | **Recommended** |
|
||||
| `nomic-embed-text` | 768 | Alternative |
|
||||
| `mxbai-embed-large` | 1024 | Fast |
|
||||
|
||||
### Pre-Flight Checklist
|
||||
|
||||
- [ ] Docker installed (`docker --version`)
|
||||
- [ ] Ollama running (`curl http://OLLAMA_IP:11434/api/tags`)
|
||||
- [ ] Qdrant running (`curl http://QDRANT_IP:6333/collections`)
|
||||
- [ ] Embedding model pulled (`ollama pull snowflake-arctic-embed2`)
|
||||
- [ ] UID/GID noted (`id` command)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user