<dependency>
<groupId>com.playtika.testcontainers</groupId>
<artifactId>embedded-mailhog</artifactId>
<scope>test</scope>
</dependency>-
embedded.mailhog.enabled(true|false, default is true) -
embedded.mailhog.reuseContainer(true|false, default is false) -
embedded.mailhog.dockerImage(default is 'mailhog/mailhog:v1.0.1')-
Image versions on dockerhub
-
-
embedded.mailhog.waitTimeoutInSeconds(default is 60 seconds) -
embedded.mailhog.smtp-port(default is 1025) -
embedded.mailhog.http-port(default is 8025) -
embedded.toxiproxy.proxies.mailhog.enabledEnables both creation of the container with ToxiProxy TCP proxy and a proxy to theembedded-mailhogcontainer SMTP port.
-
embedded.mailhog.host -
embedded.mailhog.smtp-port -
embedded.mailhog.http-port -
embedded.mailhog.toxiproxy.host -
embedded.mailhog.toxiproxy.port -
embedded.mailhog.networkAlias -
embedded.mailhog.internalSmtpPort -
embedded.mailhog.internalHttpPort -
Bean
ToxiproxyContainer.ContainerProxy mailhogSmtpContainerProxy