docs: Infrastruktur-Migration 2026-03-06 in Docs + CLAUDE.md nachziehen
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 31s
CI / test-python-backend-compliance (push) Successful in 27s
CI / test-python-document-crawler (push) Successful in 20s
CI / test-python-dsms-gateway (push) Successful in 17s

- CLAUDE.md: Voraussetzungen auf externe Hetzner-Services aktualisiert
  (PostgreSQL 46.225.100.82:54321, Qdrant qdrant-dev.breakpilot.ai, MinIO Hetzner)
- docs-src/index.md: PostgreSQL-Zeile auf externe Instanz aktualisiert
- docs-src/document-crawler/index.md: DB-Verbindung auf externe PG aktualisiert
- Zusatz: training_*, ucca_*, academy_* Tabellen + update_updated_at_column()
  Funktion auf externe DB nachmigriert (waren beim ersten Dump nicht erfasst)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-06 21:10:24 +01:00
parent 2dd86e97be
commit 8f3fb84b61
3 changed files with 9 additions and 3 deletions

View File

@@ -43,12 +43,18 @@ ssh macmini "/usr/local/bin/docker exec bp-compliance-<service> <cmd>"
## Voraussetzung ## Voraussetzung
**breakpilot-core MUSS laufen!** Dieses Projekt nutzt Core-Services: **breakpilot-core MUSS laufen!** Dieses Projekt nutzt Core-Services:
- PostgreSQL (Schema: `compliance`, `core`)
- Valkey (Session-Cache) - Valkey (Session-Cache)
- Vault (Secrets) - Vault (Secrets)
- RAG-Service (Vektorsuche fuer Compliance-Dokumente) - RAG-Service (Vektorsuche fuer Compliance-Dokumente)
- Nginx (Reverse Proxy) - Nginx (Reverse Proxy)
**Externe Services (Hetzner/meghshakka) — seit 2026-03-06:**
- PostgreSQL 17 @ `46.225.100.82:54321` (sslmode=require) — Schemas: `compliance` (51), `public` (compliance_* + training_* + ucca_* + academy_*)
- Qdrant @ `qdrant-dev.breakpilot.ai` (HTTPS, API-Key)
- Object Storage @ `nbg1.your-objectstorage.com` (S3-kompatibel, TLS)
Config via `.env` auf Mac Mini (nicht im Repo): `COMPLIANCE_DATABASE_URL`, `QDRANT_URL`, `QDRANT_API_KEY`
Pruefen: `curl -sf http://macmini:8099/health` Pruefen: `curl -sf http://macmini:8099/health`
--- ---

View File

@@ -136,7 +136,7 @@ Compliance-Services nutzen folgende Core-Infrastruktur:
| Core Service | Genutzt von | Zweck | | Core Service | Genutzt von | Zweck |
|-------------|-------------|-------| |-------------|-------------|-------|
| PostgreSQL (5432) | Alle | Zentrale Datenbank | | PostgreSQL (46.225.100.82:54321, extern) | Alle | Compliance-Datenbank (Hetzner/meghshakka, TLS) |
| Valkey (6379) | Backend, Admin | Session Cache | | Valkey (6379) | Backend, Admin | Session Cache |
| Vault (8200) | Alle | Secrets Management | | Vault (8200) | Alle | Secrets Management |
| Qdrant (qdrant-dev.breakpilot.ai) | AI SDK, Document Crawler | Vector-Suche (gehostet, API-Key) | | Qdrant (qdrant-dev.breakpilot.ai) | AI SDK, Document Crawler | Vector-Suche (gehostet, API-Key) |

View File

@@ -18,7 +18,7 @@ graph LR
| **Port** | 8098 | | **Port** | 8098 |
| **Container** | `bp-compliance-document-crawler` | | **Container** | `bp-compliance-document-crawler` |
| **Sprache** | Python 3.11 / FastAPI | | **Sprache** | Python 3.11 / FastAPI |
| **Datenbank** | PostgreSQL (`breakpilot_db`) | | **Datenbank** | PostgreSQL (extern: `46.225.100.82:54321`, DB `postgres`, sslmode=require) |
## Features ## Features