Created
October 12, 2024 17:37
-
-
Save ak-git/4c10187b630dc3b4f721dc7bc3a4b15f to your computer and use it in GitHub Desktop.
Actuator healthcheck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
spring-petclinic: | |
image: spring-petclinic:latest | |
healthcheck: | |
test: wget --no-verbose --tries=1 --spider http://localhost:8080/actuator/health || exit 1 | |
interval: 30s | |
timeout: 5s | |
start_period: 30s | |
retries: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Лучший способ создания нескольких окружений для Spring Boot приложения с помощью Docker Compose