Skip to content

Commit

Permalink
Activate health endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
penguineer committed Jul 17, 2024
1 parent 06ac81f commit b82ed07
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<vaadin.version>24.4.6</vaadin.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
Expand Down
10 changes: 10 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
server:
port: ${PORT:8080}

management:
endpoints:
enabled-by-default: false
web:
exposure:
include: "health"
endpoint:
health:
enabled: true

spring:
application:
name: gartenplus
Expand Down

0 comments on commit b82ed07

Please sign in to comment.