File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
9999
100100# Configure healthcheck
101101# todo: make sure only the registry availability is checks since devices are not maintained by this instance.
102- HEALTHCHECK --interval=15m --timeout=2m CMD bco-validate --host ${MQTT_BROKER} > /dev/null || exit 1
102+ HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=3 \
103+ CMD curl -f http://localhost:13781/actuator/health || exit 1
103104
104105# Set command
105106# # Need to be in array form to not encapsulate command in another shell session because
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ dependencies {
2020
2121 api(" org.eclipse.jetty:jetty-server:11.0.14" )
2222 api(" jakarta.servlet:jakarta.servlet-api:6.0.0" )
23+ implementation(" org.springframework.boot:spring-boot-starter-actuator:_" )
2324
2425
2526
Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ plugin.org.springframework.boot=3.1.2
9494
9595plugin.io.spring.dependency-management =1.1.2
9696
97+ version.org.springframework.boot..spring-boot-starter-actuator =3.1.2
98+
9799version.kotlin =2.0.0
98100
99101version.org.openbase..jul.communication.controller =3.7.2
You can’t perform that action at this time.
0 commit comments