A simple lighttpd image that doesn't use an entrypoint script.
docker build -t pdok/lighttpd .
docker run --rm -p 80:80 --name lighttpd-example -v `pwd`/config:/srv/lighttpd pdok/lighttpd
docker stop lighttpd-example
This project aims to fulfill the need in creating a lighttpd container that is deployable on a scalable infrastructure, like Kubernetes. This means that this images is based on a lightweight base-image and tries to have no specific configuration, like COPY commands in the Dockerfile.
It will start a small container containing lighttpd.
docker build -t pdok/lighttpd .
This image can be run straight from the commandline. A volume needs to be mounted on the container directory /srv/lighttpd/config. The mounted volume needs to contain a lighttpd.conf file.
docker run --rm -p 80:80 --name lighttpd-example -v `pwd`/config:/srv/lighttpd pdok/lighttpd
Running the example above will create a service on the url http://localhost/
The ENV variables that can be set are the following
DEBUG
MIN_PROCS
MAX_PROCS
MAX_LOAD_PER_PROC
IDLE_TIMEOUTThe ENV variables have a default value set in the Dockerfile.
Make a pull request...
Contacting the maintainers can be done through the issue tracker.