Stu Mason · Folkestone, Kent
One entryClosed issue· StuMason/coolify-mcp· TypeScript

Issue #92 closed: Support fetching logs for specific services in docker-compose applications

Problem or motivation

Currently, application_logs only returns logs from one container when an application uses docker compose build pack with multiple services. There's no way to specify which service's logs to retrieve.

Use case: For a docker-compose app with frontend and backend services, calling application_logs only returns one of the application logs. I need to access logs from other services too.

Proposed solution

Add an optional service parameter to application_logs:

{ "uuid": "app-uuid", "service": "backend", "lines": 100 }

When omitted, could either return logs from all services (labeled) or default to current behavior.

Alternatives considered

Workaround currently requires SSH access to run docker logs <container-name> directly, or copy pasting from Coolify's GUI.