apcupsd-cgi and lighttpd debian-based image.
FROM honzahommer/apcupsd-cgi
...
docker run --detach --restart always --mount type=bind,source=$PWD/hosts.conf,target=/etc/apcupsd/hosts.conf,readonly --publish 8888:80 --name apcupds-cgi honzahommer/apcupsd-cgi
git clone https://github.com/honzahommer/docker-apcupsd-cgi
cd docker-apcupsd-cgi
...
docker build --tag apcupsd-cgi .
docker run --detach --restart always --mount type=bind,source=$PWD/hosts.conf,target=/etc/apcupsd/hosts.conf,readonly --publish 8888:80 apcupsd-cgi