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.
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