I have a compose file which is pretty complex that utilizes multiple depends_on in combination with service_healthy and service_started conditions.
I now figured out that the stopping of these containers is pretty slow. probably it tires to preserve some order in which the services are shut down.
Is there a way to bypass this and make the shutdown work fast again?
if I run the same compose file without any dependencies, the down command takes about 15 seconds compared to 4+ minutes when using depends_on