Class ContainerConfig


  • public class ContainerConfig
    extends Object
    Container configuration
    • 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
      • args

        @Parameter
        public List<String> args
        Override image arguments for command
      • 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
    • Constructor Detail

      • ContainerConfig

        public ContainerConfig()