
Docker Compose Setup
Scaffold a production-oriented Docker Compose stack with healthchecks, restart policy, and bridged networking for a solo-shipped app.
Install
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-docker --skill docker-compose-setupWhat is this skill?
- Production-oriented Compose 3.8 template with app service build and port publish
- Healthcheck using curl against /health—30s interval, 10s timeout, 3 retries
- restart: unless-stopped and dedicated app-network bridge driver
- JSON Schema for skill version semver and environment overrides (dev vs production strict validation)
- Integrations flags for git, linter, and formatter hooks
Adoption & trust: 1 installs on skills.sh; 2 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Azure Kubernetesmicrosoft/azure-skills
Github Actions Docsxixu-me/skills
Deploy To Vercelvercel-labs/agent-skills
Vercel Cli With Tokensvercel-labs/agent-skills
Turborepovercel/turborepo
Docker Expertsickn33/antigravity-awesome-skills
Journey fit
Common Questions / FAQ
Is Docker Compose Setup safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Docker Compose Setup
# docker-compose-setup Configuration # Category: containers # Generated: 2025-12-30 skill: name: docker-compose-setup version: "1.0.0" category: containers settings: # Default settings for docker-compose-setup enabled: true log_level: info # Category-specific defaults validation: strict_mode: false auto_fix: false output: format: markdown include_examples: true # Environment-specific overrides environments: development: log_level: debug validation: strict_mode: false production: log_level: warn validation: strict_mode: true # Integration settings integrations: # Enable/disable integrations git: true linter: true formatter: true # Docker Compose Production Template version: '3.8' services: app: build: . ports: - "3000:3000" environment: - NODE_ENV=production healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000/health"] interval: 30s timeout: 10s retries: 3 restart: unless-stopped networks: - app-network networks: app-network: driver: bridge { "$schema": "http://json-schema.org/draft-07/schema#", "title": "docker-compose-setup Configuration Schema", "type": "object", "properties": { "skill": { "type": "object", "properties": { "name": { "type": "string" }, "version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+$" }, "category": { "type": "string", "enum": [ "api", "testing", "devops", "security", "database", "frontend", "algorithms", "machine-learning", "cloud", "containers", "general" ] } }, "required": [ "name", "version" ] }, "settings": { "type": "object", "properties": { "enabled": { "type": "boolean", "default": true }, "log_level": { "type": "string", "enum": [ "debug", "info", "warn", "error" ] } } } }, "required": [ "skill" ] } # Docker Compose Setup Guide ## Overview This guide provides comprehensive documentation for the **docker-compose-setup** skill in the custom-plugin-docker plugin. ## Category: Containers ## Quick Start ### Prerequisites - Familiarity with containers concepts - Development environment set up - Plugin installed and configured ### Basic Usage ```bash # Invoke the skill claude "docker-compose-setup - [your task description]" # Example claude "docker-compose-setup - analyze the current implementation" ``` ## Core Concepts ### Key Principles 1. **Consistency** - Follow established patterns 2. **Clarity** - Write readable, maintainable code 3. **Quality** - Validate before deployment ### Best Practices - Always validate input data - Handle edge cases explicitly - Document your decisions - Write tests for critical paths ## Common Tasks ### Task 1: Basic Implementation ```python # Example implementation pattern def implement_docker_compose_setup(input_data): """ Implement docker-compose-setup functionality. Args: input_data: Input to process Returns: Processed result """ # Validate input if not input_data: raise ValueError("Input required") # Process result = process(input_data) # Return return result ``` ### Task 2: Advanced Usage For advanced scenarios, consider: - Configuration customization via `assets/config.yaml` - Validation using `scripts/validate.py` - Integration with other skills ## Troubleshooting ### Common Issues | Issue | Cause | Solution | |-------|-------|----------| | Skill not found | Not installed | Run plugin sync | | Validation fails | Invalid config | C