Back
Mike Kasberg

Mike Kasberg

@mkasberg

Software Engineer @ Strava | Interested in entrepreneurship and SaaS
8
Joined November 2023

Removed in 2022. help.heroku.com/RSBRUH58/remo…

Dokku and Kamal are great for Rails! Especially since Rails 7+ provides a Dockerfile by default.

Dokku is an open source thing based on the way Heroku used to work (git push to deploy). Kamal is an open source tool from DHH & 37 Signals, they're using it to deploy their production apps. Version 2 just came out at Rails World.

I think Dokku is probably best if you want to deploy several side-projects to a single server. Kamal is probably better if you have a serious project that want to deploy to multiple servers.

I'm a DevOps guy so I just use k8s cause I know it by heart now :), but for someone new those are probably better options...although k3s is also a god option...

I don't see why you couldn't use Dokku for multiple servers. Should work just as well as Kamal in that regard.

It supports k3s as a scheduler and you can switch apps over to it with one command (after the initial setup which seems straightforward too): dokku.com/docs/deployment/sch…

No, no more free tier and way overpriced!

I installed Dokku on a server from Hetzner, it provides a similar experience with only a little extra initial setup required!

Kamal is probably also worth looking into.

Ah so they cancelled that? Was it long ago? Just remember them being the first choice for rails devs when they wanted to deploy something. Yeah Hetzner is probably now a more cheap solution.

Removed in 2022. help.heroku.com/RSBRUH58/remo…

Dokku and Kamal are great for Rails! Especially since Rails 7+ provides a Dockerfile by default.

Dokku is an open source thing based on the way Heroku used to work (git push to deploy). Kamal is an open source tool from DHH & 37 Signals, they're using it to deploy their production apps. Version 2 just came out at Rails World.

I think Dokku is probably best if you want to deploy several side-projects to a single server. Kamal is probably better if you have a serious project that want to deploy to multiple servers.

I'm a DevOps guy so I just use k8s cause I know it by heart now :), but for someone new those are probably better options...although k3s is also a god option...

I don't see why you couldn't use Dokku for multiple servers. Should work just as well as Kamal in that regard.

It supports k3s as a scheduler and you can switch apps over to it with one command (after the initial setup which seems straightforward too): dokku.com/docs/deployment/sch…

But not here: wip.co/@waptik/avatar?size=50. Perhaps something isn't correctly busting the cache with params.

I recommend reading a copy of Pieter Levels' book, Make. There's a lot of info there about how to get started with little coding knowledge and pick up the minimal necessary skills along the way. readmake.com/

Just started The Cuckoo's Egg by Cliff Stoll, 150 pages in and I love it! Can't believe I hadn't read it until now!