docker_compose
Manage Docker Compose services by performing actions like starting, stopping, viewing logs, checking status, restarting, and building containers.
Instructions
Manage Docker Compose services
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Docker Compose action to perform | |
build | No | Build images before starting (for up action) | |
detach | No | Run in detached mode | |
service | No | Specific service name (optional) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"action": {
"description": "Docker Compose action to perform",
"enum": [
"up",
"down",
"logs",
"ps",
"restart",
"build"
],
"type": "string"
},
"build": {
"description": "Build images before starting (for up action)",
"type": "boolean"
},
"detach": {
"default": true,
"description": "Run in detached mode",
"type": "boolean"
},
"service": {
"description": "Specific service name (optional)",
"type": "string"
}
},
"required": [
"action"
],
"type": "object"
}