Ragflow Poc
Date: 2026-05-05
Slug: ragflow-self-hosted-rag-agent-engine-guide-2026
Track: sandbox-poc
Operator: Effloow Lab (automated agent)
Environment
- Host OS: macOS Darwin 24.6.0 (Apple Silicon / ARM64 equivalent)
- Docker version: 29.2.0
- Docker Compose version: v5.0.2
- RAGFlow target version: v0.25.1 (latest stable as of 2026-04-30)
- Sandbox directory: /tmp/ragflow-sandbox/
Commands Run
1. Docker availability check
docker --version
# Output: Docker version 29.2.0, build 0b9d198
docker compose version
# Output: Docker Compose version v5.0.2
Both meet the minimum requirements (Docker ≥ 24.0.0, Docker Compose ≥ v2.26.1). ✅
2. Latest release verification
curl -s "https://api.github.com/repos/infiniflow/ragflow/releases/latest" | python3 -c "
import sys, json; d = json.load(sys.stdin)
print('Latest tag:', d.get('tag_name'))
print('Published:', d.get('published_at'))
"
# Output:
# Latest tag: v0.25.1
# Published: 2026-04-30T02:54:28Z
Confirmed: v0.25.1 is the current stable release. ✅
3. Docker image size inspection (via Docker Hub API)
curl -s "https://hub.docker.com/v2/repositories/infiniflow/ragflow/tags/?page_size=5"
Results:
| Tag | Size | Updated |
|---|---|---|
| latest | 3.4 GB | 2026-05-04 |
| v0.25.1 | 3.4 GB | 2026-04-30 |
| v0.25.0 | 3.4 GB | 2026-04-21 |
| v0.24.0 | 3.0 GB | 2026-02-11 |
Note: The slim image (without embedded model weights) is ~2 GB and available as infiniflow/ragflow:v0.25.1-slim.
4. docker-compose.yml structure inspection
curl -s "https://raw.githubusercontent.com/infiniflow/ragflow/main/docker/docker-compose.yml"
Confirmed structure:
ragflow-cpuprofile: web + API server on ports 80 (HTTP), 443 (HTTPS), 9380 (API), 9381 (Admin), 9382 (MCP), 9384 (Go service)ragflow-gpuprofile: same + GPU passthrough for DeepDoc acceleration- Depends on: MySQL (healthcheck gated), Elasticsearch or Infinity, MinIO (object storage)
MCP server flag visible in the compose file (commented example):
command:
- --enable-mcpserver
- --mcp-host=0.0.0.0
- --mcp-port=9382
- --mcp-base-url=http://127.0.0.1:9380
5. .env defaults inspection
curl -s "https://raw.githubusercontent.com/infiniflow/ragflow/main/docker/.env"
Key defaults found:
DOC_ENGINE=elasticsearch(can switch toinfinity,oceanbase,opensearch,seekdb)DEVICE=cpu(can switch togpu)ELASTIC_PASSWORD=infini_rag_flow← must change in productionSTACK_VERSION=8.11.3(Elasticsearch, upgraded to 9.x in v0.25.0)
6. Release notes verification
curl -s "https://raw.githubusercontent.com/infiniflow/ragflow/main/docs/release_notes.md"
v0.25.1 (2026-04-29) key changes verified:
- Lazy loading + chunked parsing for large PDFs (>50 pages) — reduces memory footprint
- OpenDataLoader PDF parser backend added
- RESTful API unification across all endpoints
- DeepSeek v4 model support
v0.25.0 (2026-04-21) key changes verified:
- Seven prebuilt ingestion pipeline templates
- Agent apps can now be published
- Sandbox code execution + chart generation
- Memory: user-level storage and retrieval
- Elasticsearch bumped to 9.x
- MinIO switch from official to
pgsty/minio
What Worked
- Docker and Docker Compose environment confirmed compatible
- RAGFlow image sizes and tags retrieved and verified
- docker-compose.yml structure analyzed (CPU/GPU profiles, MCP server flag, port layout)
- .env defaults inspected — default passwords identified as insecure
- Release notes confirmed v0.25.1 as latest, with specific feature list verified
- Python SDK API pattern confirmed via PyPI (
ragflow-sdk) and official docs
What Did Not Work / Limitations
- Full deployment not executed: Pulling the 3.4 GB image and starting the multi-container stack (Elasticsearch, MinIO, MySQL, RAGFlow) was not performed in this lab run to avoid excessive resource usage in the automation context.
- No live document Q&A demo: A working Q&A session with actual document ingestion was not executed. Lab notes reflect code patterns from official docs and verified source analysis only.
- Evidence level: Infrastructure architecture, deployment process, and API patterns are source-verified. Live output screenshots and benchmark numbers are not available from this run.
Conclusion
The sandbox PoC confirms RAGFlow v0.25.1 is deployable with Docker 29.2.0 + Compose v5.0.2. The docker-compose.yml structure, default configuration, and MCP server integration were verified from source. Article proceeds as a source-verified setup guide with accurately documented deployment steps, noting that full end-to-end deployment was not executed in this run.