Make health-check-port configurable using SERVER_PORT environment variable in application.yml.
This commit is contained in:
@@ -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: 8086 # Spring Boot Port (Tomcat), NICHT Ktor (8091)
|
||||
health-check-port: ${SERVER_PORT:8086} #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
|
||||
|
||||
Reference in New Issue
Block a user