Skip to content

Repository files navigation

LX WORK

LX WORK

Souveräner Digital Workspace · 100% Self-Hosted · Zero Cloud Dependencies

Status License Docker Keycloak


🏗️ Das LX Ökosystem

LX WORK ist eine souveräne, vollständig selbst-gehostete Digital-Workspace-Plattform. Alle Dienste laufen als Docker-Container auf eigener Infrastruktur – ohne Cloud-Abhängigkeiten, ohne Datenabfluss, ohne Vendor-Lock-in.

Das Ökosystem besteht aus drei Kernprojekten:

🔷 LX Teams (lx-teams)

Die zentrale Workspace-Oberfläche im 4-Säulen-Design:

Säule Funktion
Icon Rail Schnellzugriff auf alle Module (Chat, Files, Office, DMS, KI, Admin)
Sub-Sidebar Kontextabhängige Navigation (Channels, Ordner, Dokumente)
Main Viewport Primärer Arbeitsbereich mit Live-Container-Einbettung
Right Dashboard KI-Assistent, Aktivitätsstream, Quick Actions

🔷 LaxXx-DMS (laxxx-dms)

Souveränes Dokumentenmanagementsystem mit:

  • KI-gestützte Dokumentenverarbeitung (OCR, Klassifikation, Extraktion)
  • Vektorbasierte semantische Suche (pgvector)
  • Workflow-Automation (Genehmigungsprozesse, Retention Policies)
  • Revisionssichere Archivierung (GoBD/DSGVO-konform)

🔷 LX IAM (keycloak)

Zentrales Identity & Access Management:

  • Keycloak OIDC SSO für alle Dienste
  • Automatische Account-Provisionierung (Login → Account wird erstellt)
  • RBAC (Role-Based Access Control: admin, user)
  • Custom Login Theme im LX-Design

🧩 Integrierte Dienste

┌─────────────────────────────────────────────────────────┐
│                    LX WORK Platform                     │
├─────────────┬─────────────┬─────────────┬───────────────┤
│  🔐 IAM     │  💬 Chat    │  📁 Storage │  🤖 AI        │
│  Keycloak   │  Matrix     │  Nextcloud  │  Ollama       │
│  :8080      │  Synapse    │  :8001      │  :11434       │
│             │  :8008      │             │               │
│             │  Element    │  OnlyOffice │               │
│             │  :8003      │  :8002      │               │
├─────────────┴─────────────┴─────────────┴───────────────┤
│  📄 DMS                                                 │
│  LaxXx-DMS · Flask + PostgreSQL + Redis + pgvector      │
│  :5000                                                  │
├─────────────────────────────────────────────────────────┤
│  🖥️ Dashboard                                           │
│  LX Teams · Nginx · 4-Column Glassmorphic UI            │
│  :3000                                                  │
└─────────────────────────────────────────────────────────┘
Dienst Container Port Beschreibung
LX Dashboard lx-dashboard 3000 Workspace-UI (Nginx)
Keycloak lx-keycloak 8080 OIDC Identity Provider
Matrix Synapse lx-matrix-synapse 8008 E2EE Chat Server
Element Web lx-element-web 8003 Matrix Chat Client
Nextcloud lx-nextcloud 8001 File Sync & Share
OnlyOffice lx-onlyoffice 8002 Document Collaboration
LaxXx-DMS lx-dms-app 5000 Dokumentenmanagement
Ollama lx-ollama 11434 Lokale KI (LLM)

🚀 Schnellstart

Voraussetzungen

  • Docker & Docker Compose v2
  • 8 GB RAM (16 GB empfohlen)
  • 20 GB freier Speicher

Installation

# Repository klonen
git clone https://github.com/<DEIN_USER>/lx-work.git
cd lx-work

# Konfiguration kopieren
cp .env.example .env

# Alle Dienste starten
docker compose --profile iam --profile chat --profile storage --profile ai --profile dms up --build -d

Zugriff

Dienst URL Login
Workspace http://localhost:3000 Keycloak SSO
Keycloak Admin http://localhost:8080/admin admin / admin
Element Chat http://localhost:8003 SSO oder Matrix-Account
Nextcloud http://localhost:8001 admin / admin
LaxXx-DMS http://localhost:5000 Keycloak SSO
Ollama API http://localhost:11434

🔐 Authentifizierungs-Architektur

Browser ──→ LX Dashboard (:3000)
               │
               ├──→ 🔑 Keycloak SSO Login (Direct OIDC Grant)
               │         │
               │         ├──→ JWT Access Token
               │         ├──→ User Claims (name, email, roles)
               │         └──→ Auto-Provisioning in Matrix Synapse
               │
               ├──→ ⚡ Demo/Offline Login (Mock-Daten)
               │
               └──→ Workspace (Live-Container oder Mock-Modus)
  • Keycloak SSO Login: Echter OIDC-Token von Keycloak → Live-Container-Modus
  • Demo Login: Offline-Mockup-Daten für Präsentationen ohne Docker

📂 Projektstruktur

lx-work/
├── index.html              # Workspace UI (4-Säulen-Layout)
├── style.css               # Glassmorphic Dark Theme
├── app.js                  # Keycloak OIDC, State Management
├── portal.js               # Module-Tabs, Live/Mock-Toggle
├── api.js                  # REST API Client
├── admin.html              # Admin-Panel
├── docker-compose.yml      # Multi-Profile Docker Orchestration
├── Dockerfile.dms          # LaxXx-DMS Container Build
├── Dockerfile.nextcloud    # Nextcloud Container Build
├── setup.sh                # Automatisiertes Setup-Script
├── .env.example            # Umgebungsvariablen-Template
├── configs/
│   ├── keycloak/
│   │   ├── realm-export.json       # Keycloak Realm (lx-lab)
│   │   └── themes/lx-lab/          # Custom SSO Login Theme
│   ├── element/
│   │   └── config.json             # Element Web Konfiguration
│   └── matrix/
│       ├── homeserver.yaml         # Synapse + OIDC Provider
│       └── log.config              # Synapse Logging
├── dms/
│   ├── app.py                      # LaxXx-DMS Flask Backend
│   ├── worker.py                   # Background Worker
│   ├── templates/                  # Jinja2 Templates
│   └── requirements.txt            # Python Dependencies
├── compliance/                     # DSGVO/GoBD Dokumentation
└── bin/
    └── docker-compose              # Docker Compose Binary

🔧 Docker Compose Profile

Die Dienste sind in Profile gruppiert für modularen Start:

# Nur IAM (Keycloak)
docker compose --profile iam up -d

# IAM + Chat (Keycloak + Matrix + Element)
docker compose --profile iam --profile chat up -d

# Vollständiger Stack
docker compose --profile iam --profile chat --profile storage --profile ai --profile dms up -d
Profil Dienste
iam Keycloak, PostgreSQL (IAM)
chat Matrix Synapse, Element Web, PostgreSQL (Matrix)
storage Nextcloud, OnlyOffice, MariaDB
ai Ollama
dms LaxXx-DMS, PostgreSQL (DMS), Redis

🛡️ Souveränität & Compliance

  • 100% Self-Hosted: Kein Byte verlässt deine Infrastruktur
  • DSGVO-konform: Alle Daten unter eigener Kontrolle
  • GoBD-konform: Revisionssichere Archivierung in LaxXx-DMS
  • E2EE: Ende-zu-Ende-Verschlüsselung im Matrix Chat
  • Zero Trust: Keycloak OIDC SSO mit JWT-Token-Validierung
  • Air-Gap-fähig: Funktioniert komplett offline (Ollama lokal)

📜 Lizenz

Proprietär · LX Lab · Alle Rechte vorbehalten.

About

Souveraener Digital Workspace - 100% Self-Hosted - Zero Cloud Dependencies

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages