rails-kamal-hetzner-release

Automates Rails app deployment to Hetzner Cloud using Kamal and Cloudflare DNS/SSL management.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/darkamenosa/rails-kamal-hetzner-release --skill rails-kamal-hetzner-release
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rails-kamal-hetzner-release
Source: https://github.com/darkamenosa/rails-kamal-hetzner-release/tree/main
Command: npx skills add https://github.com/darkamenosa/rails-kamal-hetzner-release --skill rails-kamal-hetzner-release

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of deploying a Rails application to production on Hetzner Cloud using Kamal, handling infrastructure setup, DNS configuration, and deployment automation.

Core Features & Use Cases

  • Production Deployment: Guides through the entire process of deploying a Rails + Inertia.js app to Hetzner.
  • Infrastructure Setup: Assists with provisioning Hetzner servers, configuring firewalls, and setting up Cloudflare DNS.
  • Configuration Management: Helps manage secrets, environment variables, and deployment configurations for Kamal.
  • Troubleshooting: Provides solutions for common deployment issues like SSL certificates, deploy locks, and container crashes.
  • Use Case: Deploying a new Rails 8 + Inertia.js application to a production environment on Hetzner Cloud, including setting up Cloudflare for the domain and configuring production email.

Quick Start

Use the rails-kamal-hetzner-release skill to deploy your Rails application to Hetzner Cloud.

Frequently Asked Questions about rails-kamal-hetzner-release

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Rails app to Hetzner Cloud using Kamal?

To deploy a Rails app to Hetzner Cloud using Kamal, you need to provision the server, configure firewalls, and manage secrets via .env and .kamal/secrets. This process automates deployment while integrating Cloudflare for DNS and SSL management.

How does Kamal handle Cloudflare DNS and SSL certificates for Rails deployments?

Kamal integrates with Cloudflare to manage DNS routing and SSL certificate issuance automatically during Rails deployment. This integration ensures secure connections and resolves common SSL certificate provisioning issues on Hetzner Cloud.

Can I use Kamal to deploy a Rails 8 application with Inertia.js to production?

Yes, you can deploy Rails 8 with Inertia.js to production using Kamal on Hetzner Cloud. The deployment process supports configuring production environments, including setting up Cloudflare domains and configuring production email.

Why does my Kamal deployment to Hetzner fail with SSL certificate or container errors?

Kamal deployment failures on Hetzner often stem from SSL certificate issuance or container crashes. You can troubleshoot these issues by checking Cloudflare DNS propagation, verifying .kamal/secrets, and reviewing deploy lock states.

Do I need Docker to manage secrets and environment variables for Kamal deployments?

You manage secrets and environment variables for Kamal deployments using .env and .kamal/secrets files rather than Docker directly. Docker containerizes the Rails application, while Kamal handles injecting these configurations during deployment.

What is the best way to configure Hetzner firewalls for a Rails production server?

Configuring Hetzner firewalls for a Rails production server involves setting rules to allow traffic on necessary ports while restricting external access to internal services. This setup is automated during the initial server provisioning phase.