Versuche
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ GF_ADMIN_PASSWORD=admin
|
||||
|
||||
|
||||
# Docker build versions (optional overrides)
|
||||
DOCKER_GRADLE_VERSION=9.1.0
|
||||
DOCKER_GRADLE_VERSION=9.2.1
|
||||
DOCKER_JAVA_VERSION=25
|
||||
DOCKER_NODE_VERSION=24.12.0
|
||||
DOCKER_NGINX_VERSION=1.28.0-alpine
|
||||
|
||||
@@ -99,10 +99,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Setup JDK 21
|
||||
- name: Setup JDK 25
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '21'
|
||||
java-version: '25'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
|
||||
@@ -29,10 +29,10 @@ jobs:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up JDK 21
|
||||
- name: Set up JDK 25
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '21'
|
||||
java-version: '25'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
|
||||
@@ -28,11 +28,11 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup JDK 21
|
||||
- name: Setup JDK 25
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '21'
|
||||
java-version: '25'
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v5
|
||||
|
||||
@@ -95,10 +95,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Set up JDK 21
|
||||
- name: Set up JDK 25
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: 21
|
||||
java-version: 25
|
||||
distribution: 'temurin'
|
||||
cache: 'gradle'
|
||||
|
||||
|
||||
@@ -583,7 +583,7 @@ AUTH_SERVER_PORT=8087
|
||||
# Java auf Version 22 upgraden
|
||||
./scripts/docker-versions-update.sh update java 25
|
||||
|
||||
# Gradle auf 9.1.0 upgraden
|
||||
# Gradle auf 9.2.1 upgraden
|
||||
./scripts/docker-versions-update.sh update gradle 9.2.1
|
||||
|
||||
# Prometheus auf neueste Version upgraden
|
||||
@@ -703,7 +703,7 @@ cp dockerfiles/templates/spring-boot-service.Dockerfile dockerfiles/services/new
|
||||
|
||||
```dockerfile
|
||||
# ❌ FALSCH - Nie mehr hardcodierte Versionen
|
||||
ARG GRADLE_VERSION=9.1.0
|
||||
ARG GRADLE_VERSION=9.2.1
|
||||
|
||||
# ✅ RICHTIG - Zentrale Referenz
|
||||
ARG GRADLE_VERSION
|
||||
@@ -1545,7 +1545,7 @@ EXPOSE ${SERVICE_PORT} 5005
|
||||
HEALTHCHECK --interval=15s --timeout=3s --start-period=40s --retries=3 \
|
||||
CMD curl -fsS --max-time 2 http://localhost:${SERVICE_PORT}/actuator/health/readiness || exit 1
|
||||
|
||||
# Optimized JVM settings for Spring Boot 3.x with Java 21 and monitoring support
|
||||
# Optimized JVM settings for Spring Boot 3.x with Java 25 and monitoring support
|
||||
ENV JAVA_OPTS="-XX:MaxRAMPercentage=80.0 \
|
||||
-XX:+UseG1GC \
|
||||
-XX:+UseStringDeduplication \
|
||||
@@ -2431,7 +2431,7 @@ brew install ctop # Container-Monitoring-Tool
|
||||
| | | • Erweiterte Service-Ports-Matrix mit Debug-Ports und korrekten Health-Checks |
|
||||
| | | • Umfassende docker-compose Konfigurationsbeispiele mit Environment-Variablen |
|
||||
| | | • Neue Sektion für automatisierte Container-Tests (test-dockerfile.sh) |
|
||||
| | | • Aktualisierung auf Europe/Vienna Timezone und Java 21 Optimierungen |
|
||||
| | | • Aktualisierung auf Europe/Vienna Timezone und Java 25 Optimierungen |
|
||||
| | | • Erweiterte Monitoring- und Observability-Konfigurationen |
|
||||
| | | • Verbesserte Resource-Management und Performance-Tuning Einstellungen |
|
||||
| 1.0.0 | 2025-08-16 | Initiale Docker-Guidelines basierend auf Containerisierungsstrategie |
|
||||
|
||||
@@ -26,7 +26,7 @@ Detaillierte Coding-Standards und Qualitätsrichtlinien finden Sie in:
|
||||
**→ [Coding Standards](./project-standards/coding-standards.md)**
|
||||
|
||||
Kernpunkte:
|
||||
- **Primärsprache:** Kotlin (JVM/Multiplatform) mit Java 21+ Kompatibilität
|
||||
- **Primärsprache:** Kotlin (JVM/Multiplatform) mit Java 25+ Kompatibilität
|
||||
- **Namenskonventionen:** PascalCase für Klassen, camelCase für Funktionen
|
||||
- **Value Classes:** Typsichere Wrapper für primitive Typen
|
||||
- **Result-Pattern:** Für erwartbare Geschäftsfehler
|
||||
|
||||
@@ -15,13 +15,13 @@ ai_context: "Coding conventions, naming standards, type safety, error handling,
|
||||
### Sprach- und Stilstandards
|
||||
|
||||
* **Primärsprache:** Kotlin (JVM/Multiplatform)
|
||||
* **Java-Kompatibilität:** Ziel ist Java 21+
|
||||
* **Java-Kompatibilität:** Ziel ist Java 25+
|
||||
* **Code-Stil:** Offizielle Kotlin Coding Conventions, durch `Detekt` geprüft.
|
||||
|
||||
> **🤖 AI-Assistant Hinweis:**
|
||||
> Alle Kotlin-Code müssen den offiziellen Kotlin Coding Conventions entsprechen:
|
||||
> - **Detekt-Validierung:** Automatische Code-Style-Prüfung
|
||||
> - **Java 21+ Kompatibilität:** Nutze moderne Java-Features wo sinnvoll
|
||||
> - **Java 25+ Kompatibilität:** Nutze moderne Java-Features wo sinnvoll
|
||||
> - **Multiplatform:** Code sollte plattformübergreifend funktionieren
|
||||
|
||||
### Namenskonventionen
|
||||
|
||||
@@ -97,8 +97,8 @@ ARG GRADLE_VERSION=9.0.0
|
||||
```toml
|
||||
# docker/versions.toml - SINGLE SOURCE OF TRUTH
|
||||
[versions]
|
||||
gradle = "9.1.0"
|
||||
java = "21"
|
||||
gradle = "9.2.1"
|
||||
java = "25"
|
||||
node = "22.21.0"
|
||||
nginx = "1.28.0-alpine"
|
||||
prometheus = "v2.54.1"
|
||||
@@ -196,8 +196,8 @@ AUTH_SERVER_PORT=8087
|
||||
# Java auf Version 22 upgraden
|
||||
./scripts/docker-versions-update.sh update java 22
|
||||
|
||||
# Gradle auf 9.1.0 upgraden
|
||||
./scripts/docker-versions-update.sh update gradle 9.1.0
|
||||
# Gradle auf 9.2.1 upgraden
|
||||
./scripts/docker-versions-update.sh update gradle 9.2.1
|
||||
|
||||
# Prometheus auf neueste Version upgraden
|
||||
./scripts/docker-versions-update.sh update prometheus v2.54.1
|
||||
|
||||
@@ -239,7 +239,7 @@ Befehle für Docker-Versionsverwaltung:
|
||||
|
||||
```bash
|
||||
make versions-show # Zeigt zentrale Versionen (docker/versions.toml)
|
||||
make versions-update key=gradle value=9.1.0 # Aktualisiert eine Version
|
||||
make versions-update key=gradle value=9.2.1 # Aktualisiert eine Version
|
||||
make docker-sync # Synchronisiert versions.toml -> build-args/*.env
|
||||
make docker-compose-gen ENV=development # Generiert Docker Compose Files
|
||||
make docker-validate # Validiert Docker SSoT Konsistenz
|
||||
@@ -250,7 +250,7 @@ make hooks-install # Installiert Pre-Commit SSoT Guard Hook
|
||||
|
||||
```bash
|
||||
# 1. Version in versions.toml aktualisieren
|
||||
make versions-update key=gradle value=9.1.0
|
||||
make versions-update key=gradle value=9.2.1
|
||||
|
||||
# 2. Build-Args synchronisieren
|
||||
make docker-sync
|
||||
@@ -388,7 +388,7 @@ curl -s http://localhost:8082/actuator/health | jq
|
||||
|
||||
```bash
|
||||
# Gradle-Version ändern
|
||||
make versions-update key=gradle value=9.1.0
|
||||
make versions-update key=gradle value=9.2.1
|
||||
|
||||
# Änderungen synchronisieren
|
||||
make docker-sync
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user