DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to deploy LightRAG with Docker Compose with LightRAG

Clone the repo, fill in .env and bring the whole stack up with one command.

Short answer: Clone with git clone https://github.com/HKUDS/LightRAG.git and cd LightRAG; then run cp env.example .env and set the LLM and embedding settings; start everything with docker compose up. All steps.

  • Research
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor

Who it is forA developer who wants LightRAG running on a server without managing Python environments.

The problemInstalling Python dependencies, a frontend and storage services by hand is slow and error prone.

The outcomeA LightRAG container stack running with your LLM and embedding settings.

What you need first

  • Python with uv (recommended) or pip, or Docker Compose
  • An LLM and an embedding model configured in .env
  • Optional: storage backends such as PostgreSQL, Neo4j or OpenSearch

Steps

  1. Clone with git clone https://github.com/HKUDS/LightRAG.git and cd LightRAG
  2. Run cp env.example .env and set the LLM and embedding settings
  3. Start everything with docker compose up
  4. Optionally verify official GHCR images with Sigstore Cosign, as the Docker deployment docs describe
  5. On Apple Silicon without Docker Desktop, follow the Apple container setup doc instead

Prompt for your agent

Deploy HKUDS/LightRAG with Docker Compose on <server>, configure .env for <LLM> and <embedding model> with authentication turned on, and confirm the WebUI loads. Report the URL and any startup warnings.

Caveat. Historical image versions are on GHCR; pin a version if you need reproducible deployments.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for HKUDS/LightRAG and "Deploy LightRAG with Docker Compose"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer