You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,11 @@ When this module is included as a dependency Spring Boot will do the following:
38
38
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.
39
39
It will not call `docker compose up` again and it will not call `docker compose stop` when the application is shutdown.
40
40
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].
0 commit comments