-
For saving time, I'll use the existing repo, at the beginning I decided to use my old Rails app. But after going around on the Internet, and seeing the exciting repo that was written in Go, I'll use it for demo deployment. Here's my Git repo for this demo: https://github.com/hungle00/hacker-live You can see a Dockerfile to build an image for this app in this repo. Dockerfile for hacker-live
-
Judoscale
Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Rails, Sidekiq, Solid Queue, and more to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up job queues.
-
For saving time, I'll use the existing repo, at the beginning I decided to use my old Rails app. But after going around on the Internet, and seeing the exciting repo that was written in Go, I'll use it for demo deployment. Here's my Git repo for this demo: https://github.com/hungle00/hacker-live You can see a Dockerfile to build an image for this app in this repo. Dockerfile for hacker-live
-
As you can see, I didn't define service for Treakfik. This is because Kamal automatically uses their Kamal proxy for the proxy server. After config, then you run:
-
You can read more about Kamal at the official docs. There are many concepts that I didn't introduce in this post, for example: manage accessories (db/redis/search), manage logging, ...