DockerSelf-HostingAI

Onyx with Docker: self-hosted AI search over your own documents (Linux, Windows, Mac)

Before you start

  • 20 min read
  • Updated November 2026

Boxes marked Run in terminal are what you type; plain text explains why. Check what you need first

What you get in one minute#

Onyx is a self-hosted search and chat tool that reads your own documents and answers questions with links to the source passages, using an AI model that you choose, including one running on your own computer.

Onyx official logo

Logo: the official Onyx project (github.com/onyx-dot-app/onyx)

You upload files or connect apps such as Google Drive or Confluence. Onyx builds a search index (a fast lookup of your text) on your machine. When you ask, it finds matching passages and sends them to the chat model. This is called RAG (retrieval-augmented generation).

Onyx used to be called Danswer. The old GitHub address redirects to the new one. The project is active, not archived.

WhatValue (official sources, read November 2026)
Current versionv5.1.3, released 16 November 2026. Before it: v5.1.2, 12 November 2026
Images to pinonyxdotapp/onyx-backend:v5.1.3, onyx-web-server:v5.1.3, onyx-model-server:v5.1.3 (amd64 and arm64)
Time neededDepends on your line: over 5 GB of images (Docker Hub sizes) plus model files
RAMStandard mode: 10 GB minimum, 16 GB or more preferred, before any local chat model
Ports3000 and 80 on the host (the installer picks a free one)
LicenceMIT for the core; three ee folders use the paid Onyx Enterprise License
Official docsdocs.onyx.app

Screenshot of the Onyx Search screen: a search box with the query "expense policy lodging limit", a list of matching documents with text previews, and filters for time and source

Image: the official Onyx docs (RAG and Search page, Search UI). The page does not say which version it shows.

At a glance:

  • Two modes: Standard has connectors and search over indexed documents. Lite has chat, uploads and projects, but no index, and needs far less memory. Choose Standard here.
  • Your model: Ollama, vLLM, llama.cpp, LiteLLM or a cloud API.
  • Heavy: about ten containers, including OpenSearch (the search database).
  • Paid extras: permission sync, user groups and several SSO providers need Business or Enterprise.
  • Pin the tag: the manual template says latest, which is the nightly build.

How it fits together#

Onyx flow: you ask in the browser, nginx forwards to api_server, which searches OpenSearch, reads state from PostgreSQL and sends the question plus matching text to your chat model such as Ollama; background workers read your documents and write their index into OpenSearch

Drawn for this guide from the official Compose file at v5.1.3.

Only nginx publishes ports.

ServiceWhat it doesInternal port
nginxFront door; sends /api to the API and the rest to the web page80
web_serverThe browser interface3000
api_serverLogin, chat, search; runs database upgrades at start8080
backgroundWorkers that read your sources and index themnone
opensearchSearch index for text and vectors9200
inference_model_server, indexing_model_serverMake embeddings (number lists that capture meaning)9000
relational_dbPostgreSQL: users, chats, settings5432
object-storeSeaweedFS: your uploaded file bodies8333
cacheRedis: sessions and queues, not saved to disk6379
code-interpreter, mcp_serverPython sandbox; connector for outside AI clients8000, 8090

The default embedding model runs on the model servers. You connect the chat model in Step 2.

Before you start#

LiteStandard (this guide)
Minimum2 vCPU, 2 GB RAM, 10 GB disk4 vCPU, 10 GB RAM, 32 GB disk plus about 2.5 times your indexed data
Preferred4 vCPU, 4 GB, 50 GB8+ vCPU, 16+ GB, 500 GB for large organizations

The 10 GB is for Onyx alone. A local chat model needs its own memory on top. Onyx itself needs no GPU.

Linux: Docker Engine with the Compose plugin; the installer can install them after asking. Windows and Mac: Docker Desktop with at least 10 GB (Settings, Resources; with the WSL 2 backend set memory in %UserProfile%\.wslconfig instead). The Windows installer only detects Docker; the Mac one starts Docker Desktop for you.

Raspberry Pi: not confirmed. Arm64 images exist, but Standard still needs 10 GB.

Linux#

Run in terminalbash
docker --version
docker compose version
free -h
df -h .
cat /proc/sys/vm/max_map_count

OpenSearch's own docs ask for vm.max_map_count = 262144. If the last number is lower, add that line to /etc/sysctl.conf and run sudo sysctl -p.

Windows (PowerShell)#

Run in terminalpowershell
docker --version
docker compose version
wsl --status

Mac (Terminal)#

Run in terminalbash
docker --version
docker compose version
df -h ~

Checklist:

  • [ ] Docker runs (docker version shows Client and Server).
  • [ ] 10 GB of RAM and 32 GB of disk are free.
  • [ ] Ollama is installed if you want a local model (our Ollama guide).

Tested on 2026-11-25: Linux, Windows and Mac were not run by DIY Lab Hub. Commands were checked against the official v5.1.3 docs and files. The HTTPS recipes are DIY and untested.

Step 1: Install Onyx with the official CLI#

The CLI (onyx-cli) checks your system, creates the .env settings file with random secrets, pulls images and starts everything. When it asks, choose Standard and v5.1.3 (with the v).

Three ways to start:

RouteNeeds
uv tool install onyx-cliuv, a Python tool installer
pip install onyx-cliPython and pip
One-line scriptNothing; it installs the CLI for you

Tip: The one-liner runs a script it downloads. Read it first: the Linux and Mac script is at https://raw.githubusercontent.com/onyx-dot-app/onyx/main/deployment/docker_compose/install.sh, the Windows one next to it as install.ps1.

Linux#

Run in terminalbash
uv tool install onyx-cli
onyx-cli deploy install --tag v5.1.3

One-liner instead: curl -fsSL https://onyx.app/install_onyx.sh | bash

Windows (PowerShell)#

Run in terminalpowershell
uv tool install onyx-cli
onyx-cli deploy install --tag v5.1.3

One-liner instead: irm https://onyx.app/install_onyx.ps1 | iex. If onyx-cli is not found after installing, open a new PowerShell window.

Mac (Terminal)#

Same commands as Linux.

The installer waits until every service is healthy. The first start also downloads model files, so give it time.

Check it worked and create the admin account#

Run in terminalbash
onyx-cli deploy status

You should see every container up and healthy. The exit code is 0 when healthy, 1 when stopped or degraded, 9 when no install is found. The installer also prints the address, normally http://localhost:3000.

  1. Open that address.
  2. Sign up with your email and a password (8 to 64 characters by default). The first account becomes the admin. There is no default login, so do this at once, before others can reach the port.
  3. Open your profile icon, then Admin Panel, Organization, Security & Hardening, Authentication. Turn on Restrict Open Sign-Up.
  4. Invite others under Admin Panel, Permissions, Users.

Settings live in ~/.config/onyx/deployment/ (the .env and Compose files). Your data lives in Docker volumes. On Windows the folder is normally $HOME\.config\onyx\deployment (not confirmed); --dir or ONYX_DEPLOYMENT_DIR picks another.

Manual Compose route (advanced)#

The same stack without the CLI.

Run in terminalbash
git clone --depth 1 --branch v5.1.3 https://github.com/onyx-dot-app/onyx.git
cd onyx/deployment/docker_compose
cp env.template .env
openssl rand -hex 32

On Windows use Copy-Item env.template .env; the docs give no Windows command for the secret, so prefer the CLI there. In .env set IMAGE_TAG=v5.1.3, paste the secret into USER_AUTH_SECRET (Onyx refuses to start with it empty), and change the password and minioadmin defaults and OPENSEARCH_ADMIN_PASSWORD. Then docker compose up -d and open http://localhost:3000.

Step 2: Connect a local model with Ollama#

Onyx makes embeddings itself. It only needs a chat model. Pull one on the host first; <model> is your choice.

Linux#

Run in terminalbash
ollama pull <model>
ollama list

Windows (PowerShell)#

Run in terminalpowershell
ollama pull <model>
ollama list

Mac (Terminal)#

Same commands as Linux.

You should see your model in the list. Now connect it:

  1. In Onyx open your profile icon, Admin Panel, Language Models.
  2. Under Self-hosted & Custom click Connect on the Ollama card, then the Self-hosted Ollama tab.
  3. Enter http://host.docker.internal:11434 as API Base URL.
  4. Click Refresh models. You should see your models with context size and abilities.
  5. Select the models users may pick, choose Models Access, click Connect. Onyx tests one model before saving.

Tip: Never use 127.0.0.1 here. Inside the container it means the container itself. It is the top cause of Failed to fetch Ollama models: [Errno 111] Connection refused (issue 5608).

Tip: On Linux, Ollama listens only on 127.0.0.1 by default, which containers cannot reach. Set OLLAMA_HOST=0.0.0.0:11434 in a systemd override (Ollama's FAQ) and keep that port off the internet. Docker Desktop on Windows and Mac does not need this.

For llama.cpp, vLLM or LiteLLM use the OpenAI-Compatible card: base URL (Onyx adds /v1 if missing), an API key only if needed, then Refresh models. Our LiteLLM guide covers a proxy in front of Ollama.

Tip: Test plain chat first. Some models cannot call tools, and Onyx can ask for them: registry.ollama.ai/library/gemma3:12b-it-qat does not support tools (issue 9276).

What leaves your machine#

FeatureGoes whereHow to limit
Cloud chat modelQuestions, history and matching text go to that providerUse only local models
API embedding modelDocument text goes to that providerKeep the default local one
Connectors, web search, action servers, tracingThe apps and services an admin addsAdd none
Anonymous telemetryHealth, version, connector counts, indexing counters, query timings. Never names, URLs, emails, document text or questionsDISABLE_TELEMETRY=true
Model catalog and release-note lookupsGitHub and Onyx endpointsONYX_AIRGAPPED=true

Add both lines to ~/.config/onyx/deployment/.env, then run onyx-cli deploy stop and onyx-cli deploy install and choose Restart. Your data stays.

Step 3: Add your first documents and ask a question#

Start with one small file. The test sentence is made up, so only your file can answer it.

Linux#

Run in terminalbash
printf 'Blue Heron Lab opening hours: Tuesday to Friday, 10:00 to 16:00\n' > ~/onyx-test.txt

Windows (PowerShell)#

Codepowershell
Set-Content -Path "$HOME\onyx-test.txt" -Value "Blue Heron Lab opening hours: Tuesday to Friday, 10:00 to 16:00"

Mac (Terminal)#

Same command as Linux.

  1. Open Admin Panel, Connectors, choose the File connector and upload onyx-test.txt.
  2. Open Indexing Status and wait for Indexed.
  3. In chat ask: "What are the Blue Heron Lab opening hours?"
  4. You should get Tuesday to Friday, 10:00 to 16:00, with a source link to your file. Click it.

Screenshot of the Onyx Indexing Status page: connectors grouped by source, each showing last indexed time, an Indexed status, access type such as Organization Public and the number of documents

Image: the official Onyx docs (Connectors overview, Indexing Status). It shows other connectors than the File connector; the version is not stated.

The File connector reads text, Office files, PDF, EML, EPUB, HTML, images and ZIP archives of these. The docs list about 69 official connectors.

Connector settingDefaultMeaning
Refresh Every30 minutesHow often Onyx looks for changes
Prune Every7 daysHow often it removes documents deleted in the source
Index Documents AfteremptyEmpty means the whole history; on a large source this can take days

Tip: Set Index Documents After to a recent date for a first test of a big drive or wiki.

Access warning: a connector set to Everyone in Your Organization (Public) lets all Onyx users read what it imports, even private data. Copying the source's own permissions (Sync with the source) is a paid feature. The docs disagree on the tier (Business, Enterprise or Cloud). Test with two ordinary users before you index private files. Uploaded files never get permission sync.

Put it behind HTTPS with Traefik#

This is for a server with a domain and ports 80 and 443 open. On your own computer, skip it. Onyx publishes no proxy recipe; these are untested DIY recipes. Two rules:

  • Do not edit the Compose files the CLI manages; an upgrade refreshes them. Run the proxy as its own small project.
  • Point the proxy at Onyx's published port 3000 (Onyx's own nginx routes /api and web sockets). Never point it at web_server:3000 inside the stack.

Free port 80 for the proxy and set the public address. Port 3000 stays published too: do not forward it on your router, and block it in your server's firewall. Add to ~/.config/onyx/deployment/.env, then restart as in Step 2:

File contenttext
HOST_PORT_80=8081
WEB_DOMAIN=https://onyx.example.com

With Traefik#

Folders: ~/docker_volumes/traefik/{conf,letsencrypt} (Windows: $HOME\docker_volumes\traefik\...). This file-based setup needs no Docker socket.

File contentyaml
services:
  traefik:
    image: traefik:v3.7.19
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    extra_hosts:
      - "host.docker.internal:host-gateway"
    command:
      - "--entrypoints.web.address=:80"
      - "--entrypoints.websecure.address=:443"
      - "--providers.file.directory=/etc/traefik/conf"
      - "--providers.file.watch=true"
      - "--certificatesresolvers.letsencrypt.acme.email=<YOUR_EMAIL>"
      - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
      - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
    volumes:
      - ./conf:/etc/traefik/conf:ro
      - ./letsencrypt:/letsencrypt

Save this as conf/onyx.yml:

File contentyaml
http:
  routers:
    onyx:
      rule: "Host(`onyx.example.com`)"
      entryPoints:
        - websecure
      tls:
        certResolver: letsencrypt
      service: onyx
  services:
    onyx:
      loadBalancer:
        servers:
          - url: "http://host.docker.internal:3000"

Run docker compose up -d in the Traefik folder.

Without Traefik: Caddy#

Mount the folder, not a single file. Save the Caddyfile as ~/docker_volumes/caddy/conf/Caddyfile:

File contenttext
onyx.example.com {
    reverse_proxy host.docker.internal:3000
}
File contentyaml
services:
  caddy:
    image: caddy:2.11.9
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    extra_hosts:
      - "host.docker.internal:host-gateway"
    volumes:
      - ./conf:/etc/caddy
      - ./data:/data
      - ./config:/config

With Caddy installed on the host, use reverse_proxy 127.0.0.1:3000 instead. For a home-only name add tls internal inside the site block. Caddy then makes its own certificate; trust data/caddy/pki/authorities/local/root.crt: on Linux copy it to /usr/local/share/ca-certificates/ and run sudo update-ca-certificates; on Windows import it in certmgr.msc under Trusted Root; on Mac add it in Keychain Access as Always Trust. Check with:

Run in terminalbash
curl -I https://onyx.example.com

Tip: Let's Encrypt needs DNS that points at your server and ports 80 and 443 reachable from the internet.

Onyx's inner nginx sets X-Forwarded-Proto from its own scheme (http). After adding a proxy, test login, logout, password reset and any SSO callback. Running under a sub-path such as example.com/onyx is not confirmed; use a hostname of its own. Our Caddy guide has more.

Security and testing#

In the default file only nginx publishes ports. Keep these private:

PortService
5432, 6379PostgreSQL, Redis
9200OpenSearch
8080API server
9000, 8333Model servers, object store
8090, 8000Outside-client connector, code interpreter

The --dev flag of the CLI publishes internal ports. It is for testing only.

  • Docker socket: the code-interpreter container runs as root and mounts /var/run/docker.sock. Whoever controls it controls Docker on the host.
  • Default passwords: password, minioadmin and StrongPassword123! are only for testing. The CLI randomises them. On a manual install change them before the first start; OpenSearch reads its password only then.
  • Stored keys: one docs page says Community Edition stores connector credentials unencrypted, another says encrypted. Assume unencrypted; protect .env and backups.
  • Off by default: /metrics answers 401 without METRICS_AUTH_TOKEN, and /docs returns 404 unless ENABLE_PUBLIC_DOCS is set. Leave both.
  • Sign-up and login: use Restrict Open Sign-Up and Allowed Email Domains (or VALID_EMAIL_DOMAINS). One SSO provider works in every edition; set it under Admin Panel, Organization, SSO Providers. For email verification set REQUIRE_EMAIL_VERIFICATION=true plus SMTP_SERVER, SMTP_PORT, SMTP_USER, SMTP_PASS and EMAIL_FROM. Our Authentik guide covers a login server.
Run in terminalbash
chmod 600 ~/.config/onyx/deployment/.env
Run in terminalpowershell
icacls "$HOME\.config\onyx\deployment\.env" /inheritance:r /grant:r "$($env:USERNAME):(R,W)"

Test it:

Run in terminalbash
onyx-cli deploy status
curl -fsS http://localhost:3000/nginx-health
curl -I https://onyx.example.com

On Windows PowerShell write curl.exe instead of curl.

The second command should print ok; it only proves nginx is up, so rely on status for the whole stack. On a manual install also run docker compose ps.

Common mistakes#

MistakeWhy it happensDo this instead
127.0.0.1 as the Ollama addressInside the container it points at the container (issue 5608)Use http://host.docker.internal:11434
A model without tool supportOnyx can ask the model to call tools (issue 9276)Pick a tool-capable model and test plain chat first
Slow local model times outThe first reply takes longer than the wait (issue 10109)Raise LLM_SOCKET_READ_TIMEOUT in .env, restart
Unable to parse ollama chunkA model and streaming mix that failed (issue 5241)Try another model; a user fixed it with DISABLE_LITELLM_STREAMING=true
Files indexed but chat finds nothingReported with files outside the active scope (issue 8088, open)Check the agent or project knowledge
Blaming search for slow answersThe chat model re-checks results: 30 to 100 s per search, retrieval under 1 s (issue 16500)Use a faster model
Choosing Lite and expecting searchLite has no index, model servers or workersInstall Standard
latest or no versionUnpinned installs get nightly buildsPin v5.1.3, with the v
Restarting a slow first startModel files download firstWait; watch onyx-cli deploy logs -f api_server
Indexing a whole historyIndex Documents After is emptySet a recent date first
Private data in a Public connectorPublic means every Onyx userRestrict access; test with two users
docker system prune --allThe code interpreter's helper image is pulled only at startUse docker image prune, then restart
Disk at 95 percentOpenSearch goes read-only and blocks deletesAdd storage before 85 percent
AI assistants describe Vespa or MinIO as the v5 stack, or write a one-container Compose fileThey copy old Danswer-era examplesv5 uses OpenSearch and SeaweedFS; use onyx-cli or the official files
AI assistants set AUTH_TYPE=disabled, proxy straight to web_server:3000 or suggest docker compose down -vOld settings and guessesOnyx ignores AUTH_TYPE; proxy to port 3000; never pass -v, it deletes your data

Tip: Before you copy a variable from a forum or an AI assistant, search for it in the official env.template at your tag (linked in Sources). If it is not there, treat it as invented.

Tip: The first start can look stuck. The health checks allow 600 seconds and the API waits up to 1800 seconds for the embedding model. Read the logs before you restart.

Tip: onyx-cli deploy stop keeps your data. onyx-cli deploy uninstall deletes it all and asks you to type DELETE.

Troubleshooting#

ProblemSolution
Port 3000 or 80 busyThe CLI picks a free port; on a manual install set HOST_PORT and HOST_PORT_80 in .env
Containers restart or dieGive Docker at least 10 GB; read the logs
OpenSearch will not start (Linux)Set vm.max_map_count to 262144
Code interpreter unhealthy after a cleanuponyx-cli deploy stop, then onyx-cli deploy install and Restart
Forgot the admin passwordA reset command is not confirmed in the docs

Exact error texts#

Failed to fetch Ollama models: [Errno 111] Connection refused: the address points at the container. Use http://host.docker.internal:11434.

litellm.Timeout: Connection timed out after 60.0 seconds: the connection works but the model is slow (issue 10109; we did not re-read this exact text there). Raise LLM_SOCKET_READ_TIMEOUT.

registry.ollama.ai/library/gemma3:12b-it-qat does not support tools: choose a model with tool support.

nginx: [emerg] host not found in upstream: nginx started while api_server or web_server was down. Fix that container first (onyx-cli deploy logs api_server).

Can't locate revision: an older image meets a v5 database. See Updates and backups.

Known bugs (open, November 2026)#

Issues 9276 and 8088 (above) are open too. None is confirmed on v5.1.3.

  • Issue 17761: the GitHub connector stays stuck on a repository whose default branch has only an empty commit. Add one real file or exclude the repository.
  • Issue 17131: the Web connector in sitemap mode indexes child sitemap files when given a sitemap index. Using the child sitemap URLs is our reading of the report, untested.
  • Issue 17850: "Read aloud" stops with Content-Length header of network response exceeds response Body (reported on v5.1.2, Kubernetes). No workaround found.
Run in terminalbash
onyx-cli deploy logs -f api_server
docker stats --no-stream
docker compose logs --tail 200 api_server background nginx   # manual install only

Updates and backups#

Read the release notes first.

Run in terminalbash
onyx-cli deploy upgrade --tag <new-version>

Mostly the IMAGE_TAG line in .env changes. Hand-edited managed files are backed up and need your confirmation. The old version keeps serving while images download. Database upgrades run when the API server starts.

Old installs:

  • Vespa to OpenSearch: from before v3, upgrade to the last v3 first. Otherwise every connector must be re-indexed.
  • MinIO to SeaweedFS (v5.0.0): the upgrade sets a legacy endpoint. Keep MINIO_REPLICAS unset or 1 until docker compose exec object-store-copy python -m onyx.file_store.legacy_copy --retire has finished.
  • Rollback is not just an older tag. An older image fails with Can't locate revision. The documented fix is an alembic downgrade that deletes data only v5 stores. Read the official object store migration page first.

There is no official backup script. Keep PostgreSQL, the object store (plus onyx_minio_data while MinIO is not retired), the OpenSearch index (or plan to re-index) and the settings folder. Redis is not saved on purpose. A cold backup (stack stopped) is the simplest consistent copy. Check the real volume names: docker volume ls --filter name=onyx.

Linux#

File contentbash
#!/usr/bin/env bash
set -euo pipefail
B="$HOME/docker_volumes/onyx/backups/$(date +%F)"
mkdir -p "$B"
onyx-cli deploy stop
cp -r "$HOME/.config/onyx" "$B/config"
for V in onyx_db_volume onyx_object_store_data onyx_opensearch-data; do
  docker run --rm -v "$V:/data:ro" -v "$B:/backup" alpine tar czf "/backup/$V.tar.gz" -C /data .
done
onyx-cli deploy install   # choose Restart

Windows (PowerShell)#

Codepowershell
$B = "$HOME\docker_volumes\onyx\backups\$(Get-Date -Format yyyy-MM-dd)"
New-Item -ItemType Directory -Force -Path $B | Out-Null
onyx-cli deploy stop
Copy-Item -Recurse "$HOME\.config\onyx" "$B\config"
foreach ($V in "onyx_db_volume","onyx_object_store_data","onyx_opensearch-data") {
  docker run --rm -v "${V}:/data:ro" -v "${B}:/backup" alpine tar czf "/backup/$V.tar.gz" -C /data .
}
onyx-cli deploy install   # choose Restart

Mac (Terminal)#

Same script as Linux.

Scheduling is not confirmed, because the restart step asks a question. Run it by hand each month. On a manual install an extra online dump is docker compose exec -T relational_db sh -c 'pg_dumpall -U "$POSTGRES_USER"' > onyx-postgres.sql (our recipe, not an Onyx command).

A backup counts only after a restore test: unpack into fresh volumes, never over live data, then check login, an old file and a citation.

Performance and resources#

Bar chart of the official memory plan per Onyx component: background workers 8 GB, indexing and inference model servers 4 GB each, OpenSearch 4 GB, API server 2 GB, PostgreSQL 2 GB, nginx 0.125 GB

The official table (Kubernetes) adds up to about 12 CPUs and 24 GB. The single-host minimum is 10 GB, and the docs do not explain the gap. Treat 16 GB as comfortable. Cloud embedding models cut the model servers' memory a lot.

  • Speed: in issue 16500 (Docker Desktop with WSL2) the model's re-checking, not retrieval, took the time.
  • Disk: 32 GB plus about 2.5 times the indexed data. At 85 percent OpenSearch stops placing shards; at 95 percent it turns read-only.
  • OpenSearch heap: 2 GB in the Compose file. The official advice is equal Xms and Xmx, at most half the RAM and 31 GB. Keeping an edit through CLI upgrades is not confirmed.
  • Knobs without invented values: CELERY_WORKER_DOCPROCESSING_CONCURRENCY, EMBEDDING_BATCH_SIZE, INDEX_BATCH_SIZE, MAX_CHUNKS_FED_TO_CHAT. Change one at a time and watch docker stats --no-stream.
  • GPU: optional NVIDIA block for the two model servers (needs nvidia-container-toolkit). The chat model runs elsewhere, for example in Ollama.

FAQ#

Do I need an OpenAI key? No. Onyx works with Ollama, vLLM, llama.cpp and LiteLLM, and with cloud models if you add them.

Why does Ollama work in my terminal but not in Onyx? Onyx runs in a container, where 127.0.0.1 is the container. Use http://host.docker.internal:11434.

Lite or Standard? Standard for connectors and document search. Lite for a small chat tool without an index.

Can I run it on a Raspberry Pi, or without Docker? Neither is confirmed. Standard needs 10 GB of RAM, and the docs only describe a Docker route.

Is it private? Documents and the default embeddings stay on your machine. Anything you connect, such as a cloud model or web search, receives what you send it. Telemetry can be switched off (Step 2).

How is it different from Open WebUI, AnythingLLM and RAGFlow? Open WebUI is a chat front end for local models. AnythingLLM groups documents into workspaces. RAGFlow focuses on parsing documents for RAG. Onyx is built for ongoing search across many connected apps.

Sources#

All pages read in November 2026.

Checked against the official docs on 2026-11-25.