docker_compose_logs
View container output from docker-compose stacks to monitor application behavior and debug issues. Filter by specific services, set line limits, or view logs from specific time periods.
Instructions
View output from containers in a docker-compose stack
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| services | No | Only show logs for specific services | |
| tail | No | Number of lines to show from end of logs | |
| since | No | Show logs since timestamp | |
| timestamps | No | Show timestamps | |
| file | No | Path to compose file | |
| cwd | No | Working directory |
Input Schema (JSON Schema)
{
"properties": {
"cwd": {
"description": "Working directory",
"type": "string"
},
"file": {
"description": "Path to compose file",
"type": "string"
},
"services": {
"description": "Only show logs for specific services",
"items": {
"type": "string"
},
"type": "array"
},
"since": {
"description": "Show logs since timestamp",
"type": "string"
},
"tail": {
"description": "Number of lines to show from end of logs",
"type": "number"
},
"timestamps": {
"default": false,
"description": "Show timestamps",
"type": "boolean"
}
},
"type": "object"
}