Compose: restart services
compose_restartRestart all services in a Docker Compose stack, or specify services to restart. Provide the compose file and optionally a project name.
Instructions
Restart all services in a stack, or only the ones you name.
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). | |
| services | No | Services to restart (default: all). |