
Docker Patterns
The docker-patterns skill provides developers with Docker and Docker Compose templates and best practices for local development environments, multi-container architectures, and production-ready deployments. It addresses common challenges in containerized workflows including service orchestration, networking, volume management, and security by offering concrete examples like multi-stage Dockerfiles, development-to-production configurations, and pre-configured service stacks with databases, caching, and testing tools. This skill is designed for teams migrating from local development to containerized workflows or building scalable multi-service applications.
- skills.sh installs
- 6.8K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill docker-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
Docker Patterns
Docker and Docker Compose best practices for containerized development.
Docker Compose for Local Development
Standard Web App Stack
# docker-compose.yml
services:
app:
build:
context: .
target: dev # Use dev stage of multi-stage Dockerfile
ports:
- "3000:3000"
volumes:
- .:/app # Bind mount for hot reload
- /app/node_modules # Anonymous volume -- preserves container deps
environment:
- DATABASE_URL=postgres://postgres:postgres@db:5432/app_dev
- REDIS_URL=redis://redis:6379/0
- NODE_ENV=development
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
command: npm run dev
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Category
- DevOps & CI/CD
More from affaan-m/everything-claude-code
All 256- Java Coding Standards6.6K
- Python Testing6.6K
- Video Editing6.6K
- Django Security6.5K
- Springboot Security6.4K
- Article Writing6.3K
- Prompt Optimizer6.3K
- Cpp Coding Standards6.2K
- Market Research6.2K
- Strategic Compact6.1K
- Android Clean Architecture6K
- Springboot Tdd6K
- Continuous Learning5.9K
- Database Migrations5.9K
- Django Tdd5.9K
- E2e Testing5.9K
- Liquid Glass Design5.9K
- Security Scan5.9K
- Deployment Patterns5.8K
- Jpa Patterns5.8K
- Laravel Patterns5.8K
- Clickhouse Io5.7K
- Eval Harness5.7K
- Laravel Security5.7K