Skip to content

Commit d716d99

Browse files
committed
Note that Docker Compose is excluded by default from packaged jars
Closes gh-40556
1 parent ee73b02 commit d716d99

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
@@ -41,6 +41,11 @@ It will not call `docker compose up` again and it will not call `docker compose
4141
NOTE: By default, Spring Boot's Docker Compose support is disabled when running tests.
4242
To enable it, set configprop:spring.docker.compose.skip.in-tests[] to `false`.
4343

44+
TIP: Repackaged archives do not contain Spring Boot's Docker Compose by default.
45+
If you want to use this support, you need to include it.
46+
When using the Maven plugin, set the `excludeDockerCompose` property to `false`.
47+
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].
48+
4449

4550

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

0 commit comments

Comments
 (0)