testcontainers-node icon indicating copy to clipboard operation
testcontainers-node copied to clipboard

Support of --no-deps and others docker compose option

Open VanRoy opened this issue 2 years ago • 0 comments

Expected Behaviour

In addition to the support of start only selected services present in docker compose stack with :

new DockerComposeEnvironment("docker-compose.yml").up(["my_service"]);

It will be useful to support the docker compose --no-deps option to allow start only specified service even if it declare dependencies

The syntax could be :

new DockerComposeEnvironment("docker-compose.yml")
  .withNoDeps()
  .up(["my_service"]);

or :

new DockerComposeEnvironment("docker-compose.yml")
  .withCommandOptions("--no-deps")
  .up(["my_service"]);

Actual Behaviour

Not supported

VanRoy avatar Sep 25 '23 16:09 VanRoy