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