Add service discovery and health fixes: configure Consul registration, update health-check paths and ports, expand scanBasePackages, and ensure consistent service startup across modules.

This commit is contained in:
2026-04-13 23:17:38 +02:00
parent 8e40d13954
commit 19934e2a96
11 changed files with 195 additions and 3 deletions
@@ -22,7 +22,7 @@ spring:
prefer-ip-address: true # Nutze IP im Docker-Netzwerk
health-check-path: /actuator/health
health-check-interval: 10s
health-check-port: ${server.port} # Health Check läuft auf Spring Port
health-check-port: 8086 # Spring Boot Port (Tomcat), NICHT Ktor (8091)
instance-id: ${spring.application.name}:${server.port}:${random.uuid}
service-name: ${spring.application.name}
port: ${masterdata.http.port} # Ktor API Port registrieren