back removed import DockerClientFactory
This commit is contained in:
parent
2dc5727139
commit
4087618702
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user