@Override
    public void stop() {
        synchronized (MUTEX) {
            try {
                this.composeDelegate.getAmbassadorContainer().stop();

                // Kill the services using docker-compose
                String cmd = ComposeCommand.getDownCommand(ComposeDelegate.ComposeVersion.V1, this.options);

                if (removeVolumes) {
                    cmd += " -v";
                }
                if (removeImages != null) {
                    cmd += " --rmi " + removeImages.dockerRemoveImagesType();
                }
                this.composeDelegate.runWithCompose(this.localCompose, cmd, this.env, this.filesInDirectory);
            } finally {
                this.composeDelegate.clear();
                this.project = this.composeDelegate.randomProjectId();
            }
        }
    }
Properties that should be passed through to all Compose and ambassador containers (not
necessarily to containers that are spawned by Compose itself)
core/src/main/java/org/testcontainers/containers/DockerComposeContainer.java