
Kamal Has a Free Deployment Tool That Puts Docker on Any Server
Kubernetes is overkill for most apps. Heroku is expensive. Kamal (from the creators of Rails) deploys Docker containers to any server with zero-downtime — no Kubernetes, no PaaS, just SSH and Docker. What Kamal Gives You for Free Zero-downtime deploys — old container serves until new one is healthy Any server — works with any VPS (Hetzner, DigitalOcean, AWS EC2) Multi-server — deploy across multiple servers Traefik proxy — automatic SSL, load balancing Accessories — deploy databases, Redis alongside your app Rolling deploys — one server at a time No Kubernetes — just Docker + SSH Quick Start gem install kamal kamal init Configuration (deploy.yml) service : myapp image : myuser/myapp servers : web : hosts : - 192.168.1.1 - 192.168.1.2 labels : traefik.http.routers.myapp.rule : Host(`myapp.com`) registry : username : myuser password : - KAMAL_REGISTRY_PASSWORD env : clear : DATABASE_URL : postgres://... secret : - STRIPE_KEY - JWT_SECRET accessories : db : image : postgres:16 host : 192.
Continue reading on Dev.to DevOps
Opens in a new tab



