Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 759 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 759 Bytes

docker-apcupsd-cgi

apcupsd-cgi and lighttpd debian-based image.

How to use this image

Dockerfile

FROM honzahommer/apcupsd-cgi
...

Docker run

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

Clone repository and build custom image

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