Re:Deploying Rails on Docker: Kamal Alternative
by mooktakim on Thursday January 23, 2025 @06:07PM
(#42808992)
The missing feature is the ability to run on multiple servers. I want to be able to put it behind a load balancer. Kamal also has a huge issue where you can't set the "default host". This means load balancers can't work as "/up" never succeeds. I created an issue on github but the big honcho closed it without reading lol I understand the idea behind single server, but realistically you need at least two app servers to switch over when needed.
[ Parent
| on HN ]
Re:Deploying Rails on Docker: Kamal Alternative
by chris12321 on Friday January 24, 2025 @06:50PM
(#42818079)
I know of a bunch of apps that deploy to multiple servers behind a load balancer using Kamal. Here's an article explaining the process https://guillaumebriday.fr/how-to-deploy-and-scale-your-rail...
Re:Deploying Rails on Docker: Kamal Alternative
by mooktakim on Friday January 24, 2025 @07:14PM
(#42818208)
The article only talking about single app per server without using hostnames. That you can do as the app will respond to the IP address. Currently you can't run multiple apps on each servers behind load balancer as the health check will not be successful as there is no way to set the default host.