@Rule
public DockerComposeContainer compose =
new DockerComposeContainer(new File("src/test/resources/v2-compose-test-passthrough.yml"))
.withEnv("foo", "bar")
.withExposedService("alpine_1", 3000);
<BUG>@Test
public void testEnvVar() throws IOException {</BUG>
BufferedReader br = Unreliables.retryUntilSuccess(10, TimeUnit.SECONDS, () -> {
Uninterruptibles.sleepUninterruptibly(1, TimeUnit.SECONDS);
Socket socket = new Socket(compose.getServiceHost("alpine_1", 3000), compose.getServicePort("alpine_1", 3000));

@Rule
public DockerComposeContainer compose =
new DockerComposeContainer(new File("src/test/resources/v2-compose-test-passthrough.yml"))
.withEnv("foo", "bar")
.withExposedService("alpine_1", 3000);
@Test(timeout = 30_000)
public void testEnvVar() throws IOException {
BufferedReader br = Unreliables.retryUntilSuccess(10, TimeUnit.SECONDS, () -> {
Uninterruptibles.sleepUninterruptibly(1, TimeUnit.SECONDS);
Socket socket = new Socket(compose.getServiceHost("alpine_1", 3000), compose.getServicePort("alpine_1", 3000));
