Configuration Reference
Version:1.0.1
Test Resources Server Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.String |
Test Resources Testcontainers Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.String |
The name of the docker image to use. |
|
java.lang.String |
The image tag, in case it’s not specified in the image name or that you want to specifically override the default tag but not the image name. |
|
java.util.List |
Names of the properties which will be set to the host name of the container (e.g. if "some.host", then the "some.host" property will be set to the value of the container host name) |
|
java.util.Map |
Sets the names of the properties which will be set to the exposed port of the container. For example, if the container exposes port 25 and that you need the "smtp.port" property to be set to the value of the container port, then the key needs to be set to "smtp.port" and the value to 25. |
|
java.util.Map |
A map where the key is a path in the host filesystem and the value is a path in the container filesystem. If the host path starts with "classpath:" then the path refers to an entry on classpath. The path will be mounted read-only. |
|
java.util.Map |
A map where the key is a path in the host filesystem and the value is a path in the container filesystem. If the host path starts with "classpath:" then the path refers to an entry on classpath. The path will be mounted read-write. |
|
java.util.List |
The container command, for example: "./gradlew run". |
|
java.lang.String |
The working directory of the container. |
|
java.util.Map |
The environment variables to set in the container. |
|
java.util.Map |
The labels to set on the started container. |
|
java.lang.String |
The startup timer of the container, for example: "60s". |
|
java.util.Map |
The files to be copied to the container. The key represents a path on the host filesystem and the value represents a path on the container filesystem. If the key is prefixed by <code>classpath:</code> then the key will represent a path of an entry on classpath. |
|
java.lang.String |
The memory limit of the container. Can be expressed in bytes, kilobytes (eg 600kb), megabytes (e.g 256mb), or gigabytes (e.g 1.5g). |
|
java.lang.String |
The swap memory limit of the container. Can be expressed in bytes, kilobytes (eg 600kb), megabytes (e.g 256mb), or gigabytes (e.g 1.5g). |
|
java.lang.String |
The shared memory limit of the container. Can be expressed in bytes, kilobytes (eg 600kb), megabytes (e.g 256mb), or gigabytes (e.g 1.5g). |
|
java.lang.String |
The network this container will belong to. |
|
java.util.List |
The list of names this container will use in a custom network. |