add healthcheck for kontor-javalin

This commit is contained in:
2025-12-21 21:15:08 +01:00
parent 3c4e182832
commit 11b13e0bf4
3 changed files with 16 additions and 1 deletions
+5
View File
@@ -121,6 +121,11 @@ services:
- kontor-javalin:0.2.0-SNAPSHOT
image: kontor-javalin:0.2.0-SNAPSHOT
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://kontor-javalin:8400/health"]
interval: 10s
timeout: 5s
retries: 3
networks:
- database
- integration