Class ContainerConfig
- java.lang.Object
-
- org.honton.chas.podman.maven.plugin.config.ContainerConfig
-
public class ContainerConfig extends Object
Container configuration
-
-
Field Summary
Fields Modifier and Type Field Description String
alias
Network alias of the containerList<String>
args
Override image arguments for commandString
cmd
Override image command to executeString
entrypoint
Override image entrypointMap<String,String>
env
Map of environment variables that are set when container runsString
envFile
File containing environment variables that are set when container runsString
image
Image to runLogConfig
log
Post launch log configurationString
memory
Memory limit.String
memorySwap
Memory plus swap limit.MountsConfig
mounts
Volume mappingsString
name
Name of the container.Map<String,Integer>
ports
Map of host ports to container ports.String
requires
Comma separated dependent container namesWaitConfig
wait
Post launch wait configuration
-
Constructor Summary
Constructors Constructor Description ContainerConfig()
-
-
-
Field Detail
-
alias
public String alias
Network alias of the container
-
name
@Parameter public String name
Name of the container. Defaults to container's map key
-
requires
@Parameter public String requires
Comma separated dependent container names
-
image
@Parameter(required=true) public String image
Image to run
-
wait
@Parameter public WaitConfig wait
Post launch wait configuration
-
log
@Parameter public LogConfig log
Post launch log configuration
-
memory
@Parameter public String memory
Memory limit. Must be number followed by unit of 'b' (bytes), 'k' (kibibytes), 'm' (mebibytes), or 'g' (gibibytes)
-
memorySwap
@Parameter public String memorySwap
Memory plus swap limit. Must be number followed by unit of 'b' (bytes), 'k' (kibibytes), 'm' (mebibytes), or 'g' (gibibytes)
-
cmd
@Parameter public String cmd
Override image command to execute
-
entrypoint
@Parameter public String entrypoint
Override image entrypoint
-
envFile
@Parameter public String envFile
File containing environment variables that are set when container runs
-
env
@Parameter public Map<String,String> env
Map of environment variables that are set when container runs
-
mounts
@Parameter public MountsConfig mounts
Volume mappings
-
ports
@Parameter public Map<String,Integer> ports
Map of host ports to container ports. Key is the name of a maven property. If property is set, then that value is used as host [interface:]port; otherwise the property is set to the value of the dynamically assigned host port. The value is the container port
-
-