LEANN Docker & Self-Hosted Deployment

GitHub

[MLsys2026]: RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.

12,738 stars Python Python 1 file ยท ~3,922 tokens #ai#faiss#gpt-oss#langchain#llama-index#llm#localstorage#offline-first
RAW Compose
1. Pull Image (GHCR) docker pull ghcr.io/phioranex/openclaw-docker
2. Docker Run (1-Click Launch) docker run -d --name leann -p 18790:18790 --restart always ghcr.io/phioranex/openclaw-docker:latest
3. Podman Run podman run -d --name leann -p 18790:18790 --restart always ghcr.io/phioranex/openclaw-docker:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://ghcr.io/phioranex/openclaw-docker:latest
5. ORAS Pull (OCI Artifact) oras pull ghcr.io/phioranex/openclaw-docker:latest
6. Compose Deployment docker compose up -d
tests/openclaw/docker-compose.yml
Download .yml
services:
  openclaw-test:
    image: ghcr.io/phioranex/openclaw-docker:latest
    container_name: openclaw-leann-test
    environment:
      - HOME=/home/node
      - OLLAMA_API_KEY=ollama-local
    volumes:
      - ./docker-data:/home/node/.openclaw
      - ../../:/leann-tree:ro
    ports:
      - "18790:18789"
    extra_hosts:
      - "host.docker.internal:host-gateway"
    entrypoint: ["/app/node_modules/.pnpm/node_modules/.bin/openclaw"]
    command: ["gateway", "run", "--port", "18789", "--bind", "lan", "--allow-unconfigured", "--verbose"]