From 1e3fbc71ab2437a70a32bcad57b01adea81ea9a3 Mon Sep 17 00:00:00 2001 From: Ismael Neto <114830206+otaldoneto@users.noreply.github.com> Date: Wed, 23 Sep 2026 11:48:31 -0300 Subject: [PATCH] chore: bind to the PORT env var for Render deploys --- src/main/resources/application.properties | 3 +++ 1 file changed, 3 insertions(+) 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