@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface LocalstackDockerProperties
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends IBindMountProvider> |
bindMountProvider
Used for injecting directories or files that are bind mounted into the docker container.
|
Class<? extends IEnvironmentVariableProvider> |
environmentVariableProvider
Used for injecting environment variables into the container.
|
Class<? extends IHostNameResolver> |
hostNameResolver
Used for determining the host name of the machine running the docker containers
so that the containers can be addressed.
|
boolean |
ignoreDockerRunErrors
Determines if errors should be ignored when starting the Docker container.
|
String |
imageName
Use a specific image name (consisting of organisation and repository, e.g.
|
String |
imageTag
Use a specific image tag for docker container
|
String |
initializationToken
A Java Regex that is used to wait for the execution of custom init scripts
|
String |
platform
Specifies a target platform for the localstack docker image.
|
String |
portEdge
Port number for the edge service, the main entry point for all API invocations.
|
String |
portElasticSearch
Port number for the elasticsearch service.
|
boolean |
pullNewImage
Determines if a new image is pulled from the docker repo before the tests are run.
|
boolean |
randomizePorts
Deprecated.
|
String[] |
services
Determines which services should be run when the localstack starts.
|
boolean |
useSingleDockerContainer
Determines if the singleton container should be used by all test classes
|
public abstract Class<? extends IHostNameResolver> hostNameResolver
public abstract Class<? extends IEnvironmentVariableProvider> environmentVariableProvider
public abstract Class<? extends IBindMountProvider> bindMountProvider
public abstract String initializationToken
public abstract boolean pullNewImage
@Deprecated public abstract boolean randomizePorts
public abstract String[] services
ServiceNamepublic abstract String imageName
public abstract String imageTag
public abstract String portEdge
public abstract String portElasticSearch
public abstract boolean useSingleDockerContainer
public abstract boolean ignoreDockerRunErrors
public abstract String platform
Copyright © 2023. All rights reserved.