Skip to main content

Quick Start

Install and launch OpenRAG with all its web interfaces in 5 minutes flat.

Prerequisites

Docker 26.0+

Installation: Guide

Docker Compose 2.26+

Included with modern Docker

16 GB RAM minimum

32 GB recommended with GPU

50 GB storage

For Docker images + LLM model (4.9 GB)
Important: The system requires 16 GB RAM minimum to run the llama3.1:8b LLM. See Detailed Requirements for more information.

Installation in 4 Steps

1. Clone the Repository

2. Launch All Services

All services are connected to the openrag-network Docker bridge. Only the ports above are exposed to your host — everything else is internal.
First startup: Downloading Docker images and LLM model (4.9 GB). Allow 10-15 minutes depending on your connection.

3. Verify Everything is Started

You should see 8 services with Up status:

4. Download the LLM Model

If you’re using Ollama (default configuration):
Lightweight alternatives: llama3.1:3b (2GB), gemma:2b (1.5GB), phi3:mini (2.3GB)
Downloading the llama3.1:8b model takes 4.9 GB. Allow 5-10 minutes depending on your connection.

Access Web Interfaces

Open your browser and test the interfaces:

User Chat

Main interface - http://localhost:3000Next.js + ShadcnUI chat with markdown rendering

API Swagger

API Documentation - http://localhost:8000/docsTest the REST API interactively

Qdrant Dashboard

Vector database - http://localhost:6333/dashboardExplore indexed vectors

First Test

1

Open the user interface

2

Ask a test question

In the chat, type:
Click “Send” or press Enter.
3

Observe the response

The system will:
  1. Search in documents (100-200 ms)
  2. Generate a response with the LLM (5-15 s after first load)
  3. Display sources below with relevance scores
Important: The first query takes 70-90 seconds or more (loading LLM model into RAM — CPU mode is always slow).

Option 2: Via REST API (curl)

1

Check API health

Expected response:
2

Do a simple search (without LLM)

Returns similar documents with relevance scores.
3

Make a query with LLM

Every query: 70-90 seconds or more (CPU-only, llama3.1:8b)

Upload Your Own Documents

2

Go to Upload

Click “Upload” in the sidebar
3

Select a PDF file

  • Click “Browse files”
  • Choose a PDF
  • Fill in metadata (optional)
  • Click “Upload”
4

Verify processing

  • Go to “Documents” section
  • Check status (processing → processed)
  • Allow 10-30 seconds per document depending on size

Via API

MinIO Access (File Storage)

URL: http://localhost:9001
Credentials: admin / admin123456
Important: Change this password before any production deployment!

Useful Commands

View Logs in Real-Time

Restart a Service

Stop Everything

Clean Completely (Including Data)

The -v option removes all volumes, including your documents and indexed data!

Next Steps

System Architecture

Understand OpenRAG’s internal workings

Detailed Requirements

GPU configuration, optimizations, production

Tests & Validation

Load tests, performance, quality

API Reference

Complete REST API documentation

Quick Troubleshooting

Services won’t start

Ollama not responding

Queries very slow (>75s)

Solution: Use a GPU! See GPU Configuration to go from 70-90s to 1-3s per query.

No results for queries