madoc-docker-ops

Automate local Docker Compose management for the Madoc stack.

57|15|Updated Nov 28, 2018
One-click install
npx skills add https://github.com/digirati-co-uk/madoc-platform --skill madoc-docker-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: madoc-docker-ops
Source: https://github.com/digirati-co-uk/madoc-platform/tree/main/.agents/skills/madoc-docker-ops
Command: npx skills add https://github.com/digirati-co-uk/madoc-platform --skill madoc-docker-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the setup, orchestration, and debugging of the local Madoc Docker Compose stack, reducing manual toil during development and testing.

Core Features & Use Cases

  • Build, run, and restart the entire Madoc Docker stack with minimal commands.
  • Inspect containers/images, tail logs, and verify service health across multiple components (gateway, madoc-ts, shared-postgres, etc.).
  • Debug and fine-tune the stack with PM2 inside the madoc-ts container and frontend rebuilds for volume-mounted assets.

Quick Start

Start the full Madoc stack with docker compose in detached mode.

Frequently Asked Questions about madoc-docker-ops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage a Docker Compose stack for local development and debugging?

Managing a Docker Compose stack involves building, starting, stopping, and inspecting containers across services. It simplifies local orchestration and reduces manual toil during development and testing.

How do I debug processes inside a Docker container using PM2?

Debugging processes inside a Docker container using PM2 requires running PM2 inside the specific service container. This allows you to manage and fine-tune internal process execution alongside frontend rebuilds for volume-mounted assets.

Do I need a running Docker daemon to automate Docker Compose builds and deployments?

Yes, you need a running Docker daemon with docker-compose support to automate builds and deployments. The daemon provides the underlying container runtime environment required to execute and inspect the stack services.

What's the best way to inspect container health and tail logs across multiple Docker services?

The best way to inspect container health and tail logs is through automated stack inspection commands. This verifies service health and outputs logs across components like gateways, application servers, and databases.

How do I rebuild frontend assets mounted as volumes in a Docker Compose stack?

Rebuilding frontend assets mounted as volumes in a Docker Compose stack requires triggering frontend rebuilds from within the application container. This updates the mounted assets dynamically while the services remain running.

Why does my Docker Compose stack fail to start when the daemon is not running?

Your Docker Compose stack fails to start because the tool requires an active Docker daemon with docker-compose support. Without the daemon, the runtime environment cannot build images or execute the service containers.