homelab-brain/infrastructure/RAGFLOW.md
2026-03-24 15:59:39 +01:00

59 lines
1.7 KiB
Markdown

# RAGFlow — PDF-RAG auf pve-mu-3
> RAG (Retrieval-Augmented Generation) für ~20.000 PDFs aus Synology/Seafile.
## Übersicht
| | |
|---|---|
| **CT** | 700 |
| **Host** | pve-mu-3 (192.168.178.250 / 100.109.101.12) |
| **Hostname** | ragflow |
| **IP (LAN)** | 192.168.178.154 |
## Zugang
| | |
|---|---|
| **Lokal** | http://192.168.178.154:8080 |
| **CF Quick Tunnel** | `journalctl -u cloudflared-ragflow -n 20` → URL (ändert sich bei Neustart) |
| **Beispiel-URL** | https://gbp-folder-explains-counter.trycloudflare.com |
## Login-Daten
| User | E-Mail | Passwort |
|---|---|---|
| **Orbitalo** | wuttili@gmx.de | Astral1966 |
| **Admin** | admin@ragflow.io | admin |
## Architektur
- **Docker Compose** in `/opt/ragflow/docker/`
- **Elasticsearch** (Vector-DB), MySQL, MinIO, Redis
- **Ollama** (KI-Server 100.84.255.83): nomic-embed-text (Embeddings), qwen2.5:14b (Chat)
- **Synology SMB** gemountet: `/mnt/synology/Seafile/Nextcloud-Migration/` (~13k PDFs)
## Wichtige Befehle
```bash
# Von pve-mu-3 aus:
pct exec 700 -- docker ps # Container-Status
pct exec 700 -- systemctl status cloudflared-ragflow # CF Tunnel
pct exec 700 -- journalctl -u cloudflared-ragflow -n 20 # Aktuelle Tunnel-URL
# Im CT 700:
cd /opt/ragflow/docker && docker compose restart # RAGFlow neu starten
```
## Sprache ändern
- **UI**: Einloggen → Profil (oben rechts) → Benutzereinstellungen → Locale → Englisch/Deutsch
- **Browser**: Sprache auf Deutsch/Englisch setzen (RAGFlow nutzt Accept-Language)
## Datasource (PDF-Ordner)
In RAGFlow: Datasource anlegen → **Local Path**`/mnt/synology/Seafile/Nextcloud-Migration/`
---
*Erstellt 2026-03-24*