testcontainers-node
testcontainers-node copied to clipboard
Support of --no-deps and others docker compose option
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