Deploying a Jekyll site with Kamal | Greg Molnar
08-Nov-2024 116
Since Kamal 2 can host multiple sites on the same server, I am consolidating my apps into larger hosts so I have less servers to worry about. Most of my apps are Rails apps, but I have a few static jekyll sites like this blog and I decided to look into how could I move this site to a server I host other Rails apps on.
The first step of the process is to “dockerize” the jekyll site. Kamal Proxy will handle SSL and only requires something to process HTTP requests, so we will create a container with nginx, serving the static HTML files over port 80. To achieve this, we need to create the following Dockerfile in the root of the jekyll project:.
Deploying a Jekyll site with Kamal | Greg Molnar #ruby #rubydeveloper #rubyonrails #Deploying #Jekyll #Kamal #Molnar #deploying https://rubyonrails.ba/link/deploying-a-jekyll-site-with-kamal-greg-molnar