kamal-docker-production
CommunityShip Rails 8 to production with zero-downtime Kamal deploys.
System Documentation
What problem does it solve?
AI coding agents generate broken, bloated, or insecure production Docker and Kamal deployment configurations for Ruby on Rails 8 apps, leading to failed deploys, leaked secrets, and wasted engineering time troubleshooting avoidable infrastructure issues.
Core Features & Use Cases
- Opinionated multi-stage Docker setup: Uses ruby:3.x-slim base images to avoid native gem compilation failures with nokogiri, pg, and sassc, cutting image size by ~400MB compared to single-stage builds.
- Zero-downtime Kamal 2 deployment: Pre-configured deploy.yml with Kamal Proxy health checks, proper migration execution hooks, and Solid Queue worker support.
- Secure secrets management: Layered approach using Rails credentials, Kamal env secrets, and runtime env vars to avoid credential leaks in images or logs.
- Use Case: A team shipping a Rails 8 app to production without Kubernetes or Heroku markup can use this skill to generate a production-ready Dockerfile and Kamal config in minutes, avoiding common infra pitfalls that waste hours of debugging.
Quick Start
Use the kamal-docker-production skill to generate a production-ready multi-stage Dockerfile and Kamal 2 deploy configuration for your Rails 8 application, following best practices for image size, zero-downtime deploys, and secure secrets management.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kamal-docker-production Download link: https://github.com/sandeepmvl/rails-skills/archive/main.zip#kamal-docker-production Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.