Back to articles
Kamal Has a Free API: Deploy Docker Apps to Any Server Without Kubernetes
How-ToDevOps

Kamal Has a Free API: Deploy Docker Apps to Any Server Without Kubernetes

via Dev.to DevOpsAlex Spinov

Kamal (by 37signals/Basecamp) deploys Docker containers to bare metal servers with zero-downtime. No Kubernetes, no PaaS — just SSH and Docker. It's how HEY and Basecamp deploy. Why Kamal? No Kubernetes — deploy to any Linux server via SSH Zero downtime — rolling deploys with health checks Multi-server — deploy to multiple servers at once Traefik built-in — automatic SSL and routing Free — open source, works with any $5 VPS Install gem install kamal # Or in your project bundle add kamal kamal init Configuration # config/deploy.yml service : my-app image : my-registry/my-app servers : web : - 192.168.1.1 - 192.168.1.2 workers : hosts : - 192.168.1.3 cmd : bundle exec sidekiq registry : username : my-user password : - KAMAL_REGISTRY_PASSWORD env : clear : RAILS_ENV : production DATABASE_URL : postgres://... secret : - RAILS_MASTER_KEY - STRIPE_SECRET_KEY traefik : options : publish : - " 443:443" volume : - " /letsencrypt:/letsencrypt" args : entryPoints.websecure.address : " :443" certi

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
7 views

Related Articles