-
Notifications
You must be signed in to change notification settings - Fork 0
DOCKER_WIRE_PROTOCOL_GUIDE
makr-code edited this page Dec 22, 2025
·
1 revision
Diese Anleitung erklärt, wie Sie ThemisDB mit Wire Protocol Server in Docker packieren und ausführen.
- Docker installiert
-
build-wsl/themis_serverBinary mit Wire Protocol vorhanden -
config/config.jsonKonfigurationsdatei
cd /mnt/c/VCC/themis
export VCPKG_ROOT=/mnt/c/VCC/themis/vcpkg
# CMake-Konfiguration mit Wire Protocol
cmake -S . -B build-wsl -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_TOOLCHAIN_FILE=/mnt/c/VCC/themis/vcpkg/scripts/buildsystems/vcpkg.cmake \
-DTHEMIS_BUILD_WIRE_PROTOCOL=ON
# Build themis_server
cmake --build build-wsl --target themis_server -j8Option A: Mit Bash-Script (Linux/WSL)
bash ./docker-build-wire-protocol.shOption B: Mit Batch-Script (Windows)
docker-build-wire-protocol.batOption C: Manuell
docker build \
-t themis-db:wire-protocol-latest \
-f Dockerfile.prebuilt \
.docker-compose -f docker-compose.wire-protocol.yml up -ddocker run -d \
-p 8765:8765 \
-p 8766:8766 \
-v themis_data:/data \
--name themis-server \
themis-db:wire-protocol-latest- 8765: HTTP REST API (Standard ThemisDB)
- 8766: Wire Protocol (Binary TCP für Native Clients)
# Container-Status prüfen
docker ps -a
# Logs anschauen
docker logs -f themis-server
# In Container gehen
docker exec -it themis-server bash
# Wire Protocol Port prüfen (von außen)
netstat -tnl | grep 8766
# oder
ss -tnl | grep 8766# Container stoppen
docker stop themis-server
# Container löschen
docker rm themis-server
# Volume löschen (WARNUNG: Löscht alle Daten!)
docker volume rm themis_data
# Image löschen
docker rmi themis-db:wire-protocol-latestDer Wire Protocol Server ist optimiert für:
- Faire Benchmarks gegen PostgreSQL/MongoDB
- Hoher Durchsatz (parallel Requests)
- Niedrige Latenz (dedizierte Thread Pools)
- Sichere Connections (Rate Limiting, Connection Limits)
✅ Wire Protocol Server (8766) ✅ HTTP REST API (8765) ✅ Rate Limiting pro IP ✅ Connection Limits ✅ Timeout Protection ✅ Security Features aktiviert
Problem: Port 8766 wird nicht gehört
- Prüfe Container-Status:
docker ps -a - Logs:
docker logs themis-server - Firewall-Regeln checken
Problem: Build fehlt schlägt fehl
- Stelle sicher, dass
build-wsl/themis_serverexistiert - Führe den WSL-Build aus:
wsl bash -c "cd /mnt/c/VCC/themis && ..."
Problem: Daten-Persistenz
- Docker Volume
themis_datawird automatisch erstellt - Backup:
docker run --rm -v themis_data:/data -v $(pwd):/backup ubuntu tar czf /backup/themis_backup.tar.gz -C /data .
Für Produktionsumgebungen:
docker stats themis-serverFür detaillierte Metriken:
docker top themis-serverThemisDB v1.3.4 | GitHub | Documentation | Discussions | License
Last synced: January 02, 2026 | Commit: 6add659
Version: 1.3.0 | Stand: Dezember 2025
- Übersicht
- Home
- Dokumentations-Index
- Quick Reference
- Sachstandsbericht 2025
- Features
- Roadmap
- Ecosystem Overview
- Strategische Übersicht
- Geo/Relational Storage
- RocksDB Storage
- MVCC Design
- Transaktionen
- Time-Series
- Memory Tuning
- Chain of Thought Storage
- Query Engine & AQL
- AQL Syntax
- Explain & Profile
- Rekursive Pfadabfragen
- Temporale Graphen
- Zeitbereichs-Abfragen
- Semantischer Cache
- Hybrid Queries (Phase 1.5)
- AQL Hybrid Queries
- Hybrid Queries README
- Hybrid Query Benchmarks
- Subquery Quick Reference
- Subquery Implementation
- Content Pipeline
- Architektur-Details
- Ingestion
- JSON Ingestion Spec
- Enterprise Ingestion Interface
- Geo-Processor Design
- Image-Processor Design
- Hybrid Search Design
- Fulltext API
- Hybrid Fusion API
- Stemming
- Performance Tuning
- Migration Guide
- Future Work
- Pagination Benchmarks
- Enterprise README
- Scalability Features
- HTTP Client Pool
- Build Guide
- Implementation Status
- Final Report
- Integration Analysis
- Enterprise Strategy
- Verschlüsselungsstrategie
- Verschlüsselungsdeployment
- Spaltenverschlüsselung
- Encryption Next Steps
- Multi-Party Encryption
- Key Rotation Strategy
- Security Encryption Gap Analysis
- Audit Logging
- Audit & Retention
- Compliance Audit
- Compliance
- Extended Compliance Features
- Governance-Strategie
- Compliance-Integration
- Governance Usage
- Security/Compliance Review
- Threat Model
- Security Hardening Guide
- Security Audit Checklist
- Security Audit Report
- Security Implementation
- Development README
- Code Quality Pipeline
- Developers Guide
- Cost Models
- Todo Liste
- Tool Todo
- Core Feature Todo
- Priorities
- Implementation Status
- Roadmap
- Future Work
- Next Steps Analysis
- AQL LET Implementation
- Development Audit
- Sprint Summary (2025-11-17)
- WAL Archiving
- Search Gap Analysis
- Source Documentation Plan
- Changefeed README
- Changefeed CMake Patch
- Changefeed OpenAPI
- Changefeed OpenAPI Auth
- Changefeed SSE Examples
- Changefeed Test Harness
- Changefeed Tests
- Dokumentations-Inventar
- Documentation Summary
- Documentation TODO
- Documentation Gap Analysis
- Documentation Consolidation
- Documentation Final Status
- Documentation Phase 3
- Documentation Cleanup Validation
- API
- Authentication
- Cache
- CDC
- Content
- Geo
- Governance
- Index
- LLM
- Query
- Security
- Server
- Storage
- Time Series
- Transaction
- Utils
Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/