Compose: tear down stack
compose_downStop and remove a Docker Compose stack, with an option to also delete named volumes for complete cleanup.
Instructions
Stop and remove a Compose stack (compose down). Set removeVolumes to also delete named volumes — destructive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to a compose file, or a directory containing one (compose.yaml / docker-compose.yml). Relative paths resolve against the server's configured Compose working directory. | |
| project | No | Explicit Compose project name (defaults to the folder name). | |
| removeVolumes | No | Also remove named volumes (default: false). |