Zero configuration NextJS deployment to a self hosted VPS with Kamal. A comprehensive guide.
One of the biggest quality of life improvements when it comes to deploying over the past few months has been learning how to use Kamal and have learnt to use it properly without getting lost in the complexities. Kamal is a simple tool for deploying web apps to any server using Docker containers with zero downtime. Although originally developed for use with Rails, it can be used to deploy just about any web application to the web. Best thing about it, is it can be setup on a new VPS without exp