Docker compose stop attempts to stop a container by sending a SIGTERM. It then waits for a default timeout of 10 seconds.
After the timeout, a SIGKILL is sent to the container to forcefully kill it. If you are waiting for this timeout, it means that your containers aren’t shutting down when they receive the SIGTERM signal.