docker-compose
Docker Compose plugin that validates compose files and bundles skills for networking and production deployment.
- CCM score
- 46 of 100
- GitHub stars
- 201
Own this plugin? Claim it
What it does
- Adds 3 skills (
docker-compose-basics,docker-compose-networking, anddocker-compose-production) and a validation hook on compose files - Validates
docker-compose.*.yamlandcompose.*.yamlfiles by runningdocker compose configon each - Covers multi-container YAML setup, bridge and overlay networks, and service discovery between services
- Guides production deployments with security hardening, resource limits, health checks, logging, and high-availability patterns
Docker Compose validation and best practices for container orchestration
Add marketplace
/plugin marketplace add TheBushidoCollective/hanRun it inside Claude Code once, then install the plugin below.
Install
/plugin install docker-compose@hanRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceDocker Compose Basics
Docker Compose for defining and running multi-container applications.
Basic Structure
version: '3.8'
services:
web:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./html:/usr/share/nginx/html
environment:
- NGINX_HOST=localhost
depends_on:
- api
api:
build: ./api
ports:
- "3000:3000"
environment:
DATABASE_URL: postgres://db:5432/myapp
depends_on:
- db
db:
image: postgres:15
volumes:
- pgdata:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: secret
POSTGRES_DB: myapp
volumes:
pgdata:
Common Commands
# Start services
docker compose up
# Start in background
docker compose up -d
# Stop services
docker compose down
# View logs
docker compose logs -f
# Rebuild
docker compose build
# Execute command
docker compose exec web sh
# Scale service
docker compose up -d --scale api=3
Best Practices
Environment Variables
services:
api:
environment:
- NODE_ENV=${NODE_ENV:-development}
- API_KEY=${API_KEY}
Health Checks
services:
web:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s
timeout: 10s
retries: 3
Resource Limits
services:
api:
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
Readme
Docker Compose
Docker Compose configuration validation for container orchestration.
Features
- Validates Docker Compose files with
docker compose config - Provides skills for working with Docker Compose
Requirements
Install Docker with Compose plugin:
# macOS
brew install docker
# Linux
curl -fsSL https://get.docker.com | sh
Skills Included
- docker-compose-basics: Docker Compose configuration and usage
Hook Behavior
Validates Docker Compose files (docker-compose..yaml, compose..yaml) using docker compose config.
Installation
han plugin install docker-compose
Details
- Marketplace
- TheBushidoCollective/han
- Source
- plugins/tools/docker-compose
- Category
- Tool
- Keywords
- docker, docker-compose, containers, devops
- Listed since
- Apr 7, 2026
More from TheBushidoCollective/han
All 340Similar to docker-compose
More DevOps & Cloudjutsu-docker-composePluginTheBushidoCollective/han201 starsDocker Compose validation and best practices for container orchestration
docker-wizardPluginglincker/claude-code-marketplace38 starsGenerate optimized Dockerfiles and docker-compose.yml with best practices
kubernetesPluginTheBushidoCollective/han201 starsKubernetes manifest validation and best practices for cloud-native deployments
docker-validationPluginrknall/claude-skills94 starsComprehensive Docker and Docker Compose validation following best practices and security standards. Validates Dockerfiles, multi-stage builds, modern Compose sy
docker-specialistPluginmwguerra/claude-code-plugins35 starsDocker and Docker Compose expert with complete documentation. Generates Dockerfiles, compose configs, database containers, SSL/TLS setup with Traefik or Nginx,
dockerSkillrightnow-ai/openfang154 installsExpert Docker guidance for building, debugging, and optimizing containers, Dockerfiles, and Compose stacks.