Repo and video on how to create and develop a running Hugo instance via docker-compose

The idea is to be able to whip up multiple Hugo development instances each one running inside its own docker compose container, and without having Hugo installed on your system. This could be especially helpful for folks who need different Hugo variants (extended, non-extended, perhaps a particular version), for example. I wrote it for my own use on an Ubuntu 20.04 desktop but it should run wherever docker-compose is installed.

Github repo: https://github.com/demystifying-dev/docker-compose-hugo-app-builder

Video: https://youtu.be/0vrhKO2uwhE

Hope it helps someone, feedback welcome.

Big shout out (thank you!) to klakegg/hugo images on Docker Hub recommended by Hugo docs: https://hub.docker.com/r/klakegg/hugo

4 Likes

hey, just published a similar repository with docker-compose setup, you can check it out too, take care and stay safe!

1 Like