diff --git a/build.gradle b/build.gradle index 5c12b600..0966ddba 100644 --- a/build.gradle +++ b/build.gradle @@ -71,6 +71,7 @@ dependencies { dependencies { implementation "org.springframework.boot:spring-boot-starter-web:*" implementation "org.springframework.boot:spring-boot-starter-tomcat:*" + implementation 'org.springframework.boot:spring-boot-starter-actuator:*' implementation "io.springfox:springfox-oas:3.0.0" implementation "io.springfox:springfox-swagger-ui:3.0.0" implementation "com.github.joschi.jackson:jackson-datatype-threetenbp:2.6.4" diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index a8543506..71b07293 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -49,3 +49,13 @@ server: servlet: contextPath: /fineract port: 7070 + +management: + endpoint: + health: + probes: + enabled: true + liveness: + enabled: true + readiness: + enabled: true \ No newline at end of file