Container
Docker Compose Patterns
Generate and review Docker Compose configurations for multi-container applications. Covers Compose V2 spec (compose.yaml), services, networks, volumes, configs, secrets, build context, multi-stage builds, depends_on with healthchecks, environment variables (.env, interpolation), profiles, extends, YAML anchors, watch mode, GPU support, multiple Compose files (override pattern), restart policies, resource limits, logging drivers, init containers, CI/CD patterns, and debugging. Triggers: "Docker Compose", "compose.yaml", "compose.yml", "multi-container Docker", "docker compose up", "docker compose build", "docker compose watch", "compose profiles", "compose healthcheck", "compose override". NOT for Kubernetes manifests, NOT for single Dockerfile without orchestration, NOT for Docker Swarm clustering without Compose, NOT for Podman-specific features.