24a2f51641dd8c9110efe380b7dbd171c5666a5e
If the app container is down or not responding then traefik will return a 404 response code. This is not ideal as it suggests a client rather than a server problem. To fix this, we'll define a catch all route that always returns a 502. This is not ideal as this route would take priority over a shorter route with priorty 1. TODO: up the priority of the app route.
Kamal: Deploy web apps anywhere
From bare metal to cloud VMs, deploy web apps anywhere with zero downtime. Kamal has the dynamic reverse-proxy Traefik hold requests while a new app container is started and the old one is stopped. Works seamlessly across multiple hosts, using SSHKit to execute commands. Originally built for Rails apps, Kamal will work with any type of web app that can be containerized with Docker.
➡️ See kamal-deploy.org for documentation on installation, configuration, and commands.
Contributing to the documentation
Please help us improve Kamal's documentation on the the basecamp/kamal-site repository.
License
Kamal is released under the MIT License.
Description
Languages
Ruby
98.1%
Dockerfile
1%
Shell
0.9%