docker_compose
Manage Docker Compose services using predefined actions like up, down, build, logs, and exec. Control specific services, configure file paths, and handle container operations for streamlined deployment and monitoring.
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) | |
command | No | Command to execute (for exec action) | |
detach | No | Run in background (for up action) | |
file | No | Docker Compose file path (default: docker-compose.yml) | |
follow | No | Follow log output (for logs action) | |
force_recreate | No | Force recreate containers | |
project_name | No | Project name for compose stack | |
remove_orphans | No | Remove containers for services not defined in compose file | |
service | No | Specific service to target | |
tail | No | Number of lines to show from end of logs |