Skip to content

Commit 7ac0d0c

Browse files
committed
Merge branch '3.1.x' into 3.2.x
Closes gh-40564
2 parents be50390 + d716d99 commit 7ac0d0c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ When this module is included as a dependency Spring Boot will do the following:
3838
If the Docker Compose services are already running when starting the application, Spring Boot will only create the service connection beans for each supported container.
3939
It will not call `docker compose up` again and it will not call `docker compose stop` when the application is shutdown.
4040

41+
TIP: Repackaged archives do not contain Spring Boot's Docker Compose by default.
42+
If you want to use this support, you need to include it.
43+
When using the Maven plugin, set the `excludeDockerCompose` property to `false`.
44+
When using the Gradle plugin, {spring-boot-gradle-plugin-docs}#packaging-executable-configuring-including-development-only-dependencies[configure the task's classpath to include the `developmentOnly` configuration].
45+
4146

4247

4348
[[features.docker-compose.prerequisites]]

0 commit comments

Comments
 (0)