Class DockerComposeConnectionSource
java.lang.Object
org.springframework.boot.docker.compose.service.connection.DockerComposeConnectionSource
Passed to
DockerComposeConnectionDetailsFactory to provide details of the
running Docker Compose service.- Since:
- 3.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.env.EnvironmentEnvironment in which the current application is running.Return the running Docker Compose service.
-
Method Details
-
getRunningService
Return the running Docker Compose service.- Returns:
- the running service
-
getEnvironment
public org.springframework.core.env.Environment getEnvironment()Environment in which the current application is running.- Returns:
- the environment
- Since:
- 3.5.0
-