From 9bacf4218c05720e006cc4ce654b20f9321c1a5c Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 17 May 2023 15:43:14 -0700 Subject: [PATCH] Set 'spring.docker.compose.readiness.wait' property in devtools Default 'spring.docker.compose.readiness.wait' to `ONLY_IF_STARTED` when using devtools. See gh-35435 --- .../boot/devtools/env/devtools-property-defaults.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-devtools/src/main/resources/org/springframework/boot/devtools/env/devtools-property-defaults.properties b/spring-boot-project/spring-boot-devtools/src/main/resources/org/springframework/boot/devtools/env/devtools-property-defaults.properties index 6d4f3416cc2..1d86f504552 100644 --- a/spring-boot-project/spring-boot-devtools/src/main/resources/org/springframework/boot/devtools/env/devtools-property-defaults.properties +++ b/spring-boot-project/spring-boot-devtools/src/main/resources/org/springframework/boot/devtools/env/devtools-property-defaults.properties @@ -14,3 +14,4 @@ spring.template.provider.cache=false spring.thymeleaf.cache=false spring.web.resources.cache.period=0 spring.web.resources.chain.cache=false +spring.docker.compose.readiness.wait=only-if-started