Configuration Reference

Version:2.0.0-M1

Micronaut Test Resources Server Config Properties

🔗
Table 1. Configuration Properties for AccessConfiguration
Property Type Description

server.access-token

java.lang.String

Micronaut Test Resources Testcontainers Config Properties

🔗
Table 2. Configuration Properties for TestContainersConfiguration
Property Type Description

test-resources.containers.*.image-name

java.lang.String

Returns the name of the docker image to use for the test resources container.

test-resources.containers.*.image-tag

java.lang.String

The image tag.

test-resources.containers.*.hostnames

java.util.List

Returns the names of the properties which will be set to the host name of the container.

test-resources.containers.*.exposed-ports

java.util.Map

The map of property names to port names.

test-resources.containers.*.ro-fs-bind

java.util.Map

Returns the map of read-only system bindings.

test-resources.containers.*.rw-fs-bind

java.util.Map

Returns the map of read-write system bindings.

test-resources.containers.*.command

java.util.List

The container command.

test-resources.containers.*.working-directory

java.lang.String

The working directory for the container.

test-resources.containers.*.env

java.util.Map

The map of environment variables.

test-resources.containers.*.labels

java.util.Map

The labels to set on the started container.

test-resources.containers.*.startup-timeout

java.lang.String

The startup timeout of the container.

test-resources.containers.*.copy-to-container

java.util.Map

The files to be copied to the container.

test-resources.containers.*.memory

java.lang.String

The memory limit of the container.

test-resources.containers.*.swap-memory

java.lang.String

The swap memory limit of the container.

test-resources.containers.*.shared-memory

java.lang.String

The shared memory limit of the container.

test-resources.containers.*.network

java.lang.String

The network this container will belong to.

test-resources.containers.*.network-aliases

java.util.List

The list of names this container will use in a custom network.