Commit c8c4e188 authored by Michael's avatar Michael

expose actuators

parent d105b50e
......@@ -14,7 +14,7 @@ This is an rather minimalistic Java Spring Boot Demo application illustrating ex
Clone or download thist repository and change into this folder.
- mvn package docker:build
- mvn package dockerfile:build
## Run Docker Image
......@@ -24,6 +24,7 @@ Clone or download thist repository and change into this folder.
- localhost:8080
- Actuator security is disabled: curl http://localhost:8080/env
- All actuators are exposed and accessible: http://localhost:8080/actuator/
## Showcased
......@@ -38,4 +39,6 @@ Clone or download thist repository and change into this folder.
- [spring.io getting started](https://spring.io/guides/gs/spring-boot/)
- [spring.io external config](https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html)
- [spring.io endpoint security](https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-monitoring.html)
- [spring.io spring application properties](https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html)
\ No newline at end of file
- [spring.io spring application properties](https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html)
- [Spring Boot Metric](https://spring.io/blog/2018/03/16/micrometer-spring-boot-2-s-new-application-metrics-collector)
- [Exposing Endpoints](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready-endpoints-exposing-endpoints)
\ No newline at end of file
......@@ -11,6 +11,10 @@ services:
- DATABASE_NAME=db
- DATABASE_HOST=db
- DATABASE_PORT=1234
- MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE=*
- MANAGEMENT_ENDPOINTS_JMX_EXPOSURE_INCLUDE=*
- MANAGEMENT_ENDPOINT_METRICS_ENABLED=true
- MANAGEMENT_ENDPOINT_PROMETHEUS_ENABLED=true
env_file:
- ./conf/data.env
ports:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment