From de9dee33133213ffe4f1c863881344d140c5ed80 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 23 Feb 2026 10:28:32 +0000 Subject: [PATCH] docs: update IT_Abteilung/DatenBank/PostgreSQL --- IT_Abteilung/DatenBank/PostgreSQL.md | 65 ++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 19 deletions(-) diff --git a/IT_Abteilung/DatenBank/PostgreSQL.md b/IT_Abteilung/DatenBank/PostgreSQL.md index a3925be..28f380f 100644 --- a/IT_Abteilung/DatenBank/PostgreSQL.md +++ b/IT_Abteilung/DatenBank/PostgreSQL.md @@ -2,7 +2,7 @@ title: PostgreSQL Profice Dokumentation description: published: true -date: 2026-02-23T10:21:09.435Z +date: 2026-02-23T10:28:30.295Z tags: editor: markdown dateCreated: 2026-02-23T10:09:09.171Z @@ -49,24 +49,51 @@ pgvector ist eine PostgreSQL-Erweiterung, die Vektordatentypen und Ähnlichkeits ### Architektur auf diesem Server -``` -┌──────────────────────────────────────────────────────────────┐ -│ Debian Server │ -│ │ -│ ┌──────────────┐ ┌────────────────────────────────┐ │ -│ │ n8n │───▶│ PostgreSQL 16 │ │ -│ │ (Workflows) │ │ │ │ -│ └──────────────┘ │ ┌──────────────────────────┐ │ │ -│ │ │ DB: n8n │ │ │ -│ ┌──────────────┐ │ │ DB: n8n_vectors │ │ │ -│ │ Gitea │───▶│ │ DB: gitea │ │ │ -│ │ (Git-Server) │ │ │ │ │ │ -│ └──────────────┘ │ │ Extension: │ │ │ -│ │ │ pgvector │ │ │ -│ │ └──────────────────────────┘ │ │ -│ └────────────────────────────────┘ │ -└──────────────────────────────────────────────────────────────┘ -``` +@startuml +skinparam backgroundColor #1a1a2e +skinparam defaultFontColor white +skinparam defaultFontSize 14 +skinparam roundCorner 10 +skinparam shadowing false + +skinparam rectangle { + BackgroundColor #2a2a4a + BorderColor #5599bb + FontColor white +} + +skinparam package { + BackgroundColor #1a1a2e + BorderColor #e0e0e0 + FontColor white + FontSize 18 +} + +skinparam component { + BackgroundColor #336791 + BorderColor #fff + FontColor white +} + +package "Debian Server" { + + rectangle "n8n\n(Workflows)" as n8n #ff6d5a + + rectangle "Gitea\n(Git-Server)" as gitea #609926 + + rectangle "PostgreSQL 16" as pg #2a2a4a { + component "DB: n8n" as db1 #336791 + component "DB: n8n_vectors" as db2 #8b5cf6 + component "DB: gitea" as db3 #609926 + component "Extension: pgvector" as ext #5599bb + } +} + +n8n --> db1 : Workflow-Daten +n8n --> db2 : Embeddings +gitea --> db3 : Repositories + +@enduml ---