Understanding Kamal Accessories: A Complete Guide
Learn how to use Kamal accessories to simplify your deployment process. This guide covers the basics, configuration, and best practices.
Learn how to use Kamal accessories to simplify your deployment process. This guide covers the basics, configuration, and best practices.
Learn how to manage secrets and environment variables with Kamal. This guide covers the basics, configuration, and best practices.
Learn how to deploy your application with Kamal from scratch. This guide covers the basics, configuration, and best practices.
Deploy a Rails app that uses SQLite with Kamal: volumes for the database files, configuration and the deploy steps.
Deploy a Rails app with Kamal’s local Docker registry instead of a remote one: simpler setup and 10-15 seconds saved per deploy.
Roll back a Kamal deployment with kamal rollback: find the version you want to go back to, then run the rollback.
View your Rails app logs on Kamal, follow them in real time, and set up a logs alias to make debugging faster.
Set up Kamal aliases for common tasks like opening the Rails console or tailing logs, so long commands become one word.
The exact kamal app exec command to run a rake task on a Rails app deployed with Kamal, with the syntax and an example.
Open the Rails console on a Kamal-deployed app, in Kamal 1.x and 2.0, plus an alias that makes it a one-word command.
How to safely remove an accessory in Kamal and redeploy your app, with the commands to fix the conflicts a leftover accessory causes.
Deploy a Rails app with Kamal and PostgreSQL: the Postgres accessory, database setup, environment variables and troubleshooting tips.
Deploy a Rails app with Kamal and MySQL: Gemfile changes, the MySQL accessory, database configuration and the deploy commands, step by step.
The Kamal commands for restarting and rebooting Traefik, and when to use each one to keep your app’s routing working.
Push environment variables to your hosts with Kamal’s env push command, and the configuration it needs in deploy.yml.
Learn how to set up Kamal for your Rails application. This guide covers installation, initialization, and configuration steps.