mariotoffia / FluentDocker

Use docker, docker-compose local and remote in tests and your .NET core/full framework apps via a FluentAPI
Apache License 2.0
1.31k stars 97 forks source link

Allow to specify service to start from docker compose. #295

Open malylemireflo opened 1 year ago

malylemireflo commented 1 year ago

For now I've managed to select started services like this


PropertyInfo finfo = typeof(DockerComposeCompositeService).GetProperty("Config", bindingFlags)!;

var config = (DockerComposeConfig)finfo.GetValue(svc);

config.Services = config.Services.ArrayAdd("myservice");

Can a fluent service management be added to the builder?
Thanks