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 StringaliasNetwork alias of the containerList<String>argsOverride image arguments for commandStringcmdOverride image command to executeStringentrypointOverride image entrypointMap<String,String>envMap of environment variables that are set when container runsStringenvFileFile containing environment variables that are set when container runsStringimageImage to runLogConfiglogPost launch log configurationStringmemoryMemory limit.StringmemorySwapMemory plus swap limit.MountsConfigmountsVolume mappingsStringnameName of the container.Map<String,Integer>portsMap of host ports to container ports.StringrequiresComma separated dependent container namesWaitConfigwaitPost 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
-
-