diff --git a/build.gradle b/build.gradle index 3a622d1..c79b078 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,8 @@ dependencies { implementation('org.flywaydb:flyway-core') runtimeOnly('com.h2database:h2') + implementation('org.springframework.boot:spring-boot-starter-actuator') + testCompileOnly 'org.projectlombok:lombok:1.18.30' testAnnotationProcessor 'org.projectlombok:lombok:1.18.30' testImplementation('org.springframework.boot:spring-boot-starter-test') diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7d8e4f5..661e05f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -12,3 +12,16 @@ spring: h2: console: enabled: true +management: + endpoint: + health: + show-details: always + show-components: always + enabled: true + info: + enabled: true + + endpoints: + web: + exposure: + include: health, info, env \ No newline at end of file