Skip to content

Commit 99796b0

Browse files
Configured dynamic port for Render
1 parent fc56bda commit 99796b0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/resources/application.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ spring.datasource.password=NewStrongPassword
55
spring.jpa.hibernate.ddl-auto=update
66
spring.jpa.show-sql=true
77
spring.thymeleaf.cache=false
8-
server.port=8080
8+
server.port=8080
9+
10+
# Added this line to support Render's dynamic port
11+
server.port=${PORT:8080}

0 commit comments

Comments
 (0)