diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 8b0e395..cbf63a6 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,8 @@ spring.application.name=Management +# Render (and similar platforms) assign a dynamic port via PORT; everywhere else this falls back to 8080 +server.port=${PORT:8080} + # Do not keep the JPA session open while rendering the response spring.jpa.open-in-view=false