back removed import DockerClientFactory

This commit is contained in:
Seraphym-Tuhai 2023-04-10 13:23:26 +03:00
parent 2dc5727139
commit 4087618702

View File

@ -16,6 +16,7 @@
package org.thingsboard.server.msa;
import lombok.extern.slf4j.Slf4j;
import org.testcontainers.DockerClientFactory;
@Slf4j
public class TestProperties {
@ -35,7 +36,7 @@ public class TestProperties {
public static String getBaseUiUrl() {
if (instance.isActive()) {
//return "https://host.docker.internal" // this alternative requires docker-selenium.yml extra_hosts: - "host.docker.internal:host-gateway"
//return "https://host.docker.internal"; // this alternative requires docker-selenium.yml extra_hosts: - "host.docker.internal:host-gateway"
//return "https://" + DockerClientFactory.instance().dockerHostIpAddress(); //this alternative will get Docker IP from testcontainers
return "https://haproxy"; //communicate inside current docker-compose network to the load balancer container
}