{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "hkuds-lightrag--deploy-lightrag-with-docker-compose",
 "repo": "HKUDS/LightRAG",
 "repo_url": "https://github.com/HKUDS/LightRAG",
 "repo_slug": "hkuds-lightrag",
 "title": "Deploy LightRAG with Docker Compose",
 "page_title": "How to deploy LightRAG with Docker Compose with LightRAG",
 "summary": "Clone the repo, fill in .env and bring the whole stack up with one command.",
 "who": "A developer who wants LightRAG running on a server without managing Python environments.",
 "problem": "Installing Python dependencies, a frontend and storage services by hand is slow and error prone.",
 "outcome": "A LightRAG container stack running with your LLM and embedding settings.",
 "steps": [
  "Clone with `git clone https://github.com/HKUDS/LightRAG.git` and `cd LightRAG`",
  "Run `cp env.example .env` and set the LLM and embedding settings",
  "Start everything with `docker compose up`",
  "Optionally verify official GHCR images with Sigstore Cosign, as the Docker deployment docs describe",
  "On Apple Silicon without Docker Desktop, follow the Apple container setup doc instead"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Historical image versions are on GHCR; pin a version if you need reproducible deployments.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/hkuds-lightrag/deploy-lightrag-with-docker-compose/",
 "md": "https://dedupedai.com/use-cases/hkuds-lightrag/deploy-lightrag-with-docker-compose/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/hkuds-lightrag--deploy-lightrag-with-docker-compose.json",
 "api_version": "v1"
}
