Package io.github.gmazzo.docker.compose
Interface DockerComposeSettings.WaitForTCPPorts
-
- All Implemented Interfaces:
public interface DockerComposeSettings.WaitForTCPPorts
-
-
Method Summary
Modifier and Type Method Description abstract Property<Boolean>getEnabled()Instructs the service to wait for TCP ports, enabled by default. abstract SetProperty<String>getInclude()Ports to wait to be open and accepting connections. abstract SetProperty<String>getExclude()Ports to exclude from waiting to be open and accepting connections. abstract Property<Integer>getTimeout()The maximum time to wait for the ports to become available (in milliseconds). -
-
Method Detail
-
getEnabled
abstract Property<Boolean> getEnabled()
Instructs the service to wait for TCP ports, enabled by default.
-
getInclude
abstract SetProperty<String> getInclude()
Ports to wait to be open and accepting connections. If missing, waits for all ports
The format should
<containerName>:tcp<portNumber>. i.e.main-app-1:tcp80
-
getExclude
abstract SetProperty<String> getExclude()
Ports to exclude from waiting to be open and accepting connections. If missing, does not exclude any
The format should
<containerName>:tcp<portNumber>. i.e.main-app-1:tcp80
-
getTimeout
abstract Property<Integer> getTimeout()
The maximum time to wait for the ports to become available (in milliseconds). Defaults to 1 minute
-
-
-
-