Home Running Jekyll in Docker on an Unraid Server

Running Jekyll in Docker on an Unraid Server

This site runs using Jekyll. It is a static site generator.

I initially wanted to develop the site on my Unraid server and then publish it through cloudflare. Getting it to work in a docker container on Unraid was fairly difficult so I’ve written up a short guide.

I no longer develop the site in that way, I develop it locally using a VSCode dev container running Ruby, then publish the built static site through Nginx on Unraid with Cloudflare proxy and caching. But this guide might help someone.

Note: This should only be used to run a development site on Unraid if you don’t want to develop locally, jekyll serve which is what the container runs will not produce a production ready static site. For that you should run jekyll build and then publish the _site folder through something like nginx/apache.

Docker Unraid Template

Name: jekyll give this a meaningful name

Repository: bretfisher/jekyll-serve

Network Type: bridge

Console shell command: Shell

Priveleged: OFF

Port: 4000

Config: /mnt/user/appdata/jekyll point this to your jekyll site repo folder

Advanced View

Docker Hub URL: https://hub.docker.com/r/bretfisher/jekyll-serve/

Icon URL: https://jekyllrb.com/favicon.ico

WebUI: http://[IP]:[PORT:4000]/

Once the docker container starts up the site will serve on port 4000.

This post is licensed under CC BY 4.0 by the author.

Asus BT-400 on Ubuntu 22.04

Upgrading ASM1166 Firmware for Unraid

Comments powered by Disqus.