
Docker Compose Production
This handles the production deployment side of Docker Compose with a focus on what actually breaks in prod. You get comprehensive templates with health checks, resource limits, logging configs, and security hardening like read-only filesystems and dropped capabilities. It covers the stuff people often skip in development: backup strategies, secrets management, network isolation, and restart policies. The Postgres tuning parameters and Redis persistence settings are opinionated but sensible. Use it when you're moving beyond docker-compose up and need configurations that won't wake you up at 3am. The security configurations are particularly thorough, going beyond the basics into seccomp profiles and proper user permissions.
- skills.sh installs
- 485
- GitHub stars
- 200
- last updated
- Aug 21, 2026
Install
$ npx -y skills add thebushidocollective/han --skill docker-compose-production --agent claude-codeInstalls into .claude/skills of the current project.
Files
Docker Compose Production Deployment
Production-ready Docker Compose configurations with security, reliability, and scalability best practices.
Production-Ready Base Template
A comprehensive production template with essential configurations:
version: '3.8'
services:
nginx:
image: nginx:1.25-alpine
container_name: production-nginx
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/ssl:/etc/nginx/ssl:ro
- nginx-cache:/var/cache/nginx
- nginx-logs:/var/log/nginx
networks:
- frontend
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
reservations:
cpus: '0.5'
memory: 256M
Sponsors
Details
- Repository
- github.com/thebushidocollective/han
- Categories
- Security, DevOps & CI/CD, Mobile Development
- First seen
- Jun 3, 2026
More from thebushidocollective/han
All 14- Angular Rxjs Patterns289
- Django Rest Framework263
- Cpp Modern Features245
- Tailwind Responsive Design235
- Bdd Patterns208
- Storybook Component Documentation165
- Reactflow Fundamentals138
- PHP Security Patterns
- Android Jetpack Compose2.2K
- Fastapi Async Patterns958
- Atomic Design Fundamentals780
- Storybook Story Writing678
- Solid Principles590