- Based on Alpine-Bash
- Source code is on GitHub
(If you're using Docker™, please change command podman
to docker
.)
Assume that you want to store data on /data
, and it is writable, then extract default configuration files from the image using this command:
mkdir -p /data/lighttpd/etc
mkdir -p /data/lighttpd/htdocs
mkdir -p /data/lighttpd/lib/cache/compress
cd /data/lighttpd/etc
podman run --rm yyy tar c -C /etc/lighttpd -O . | tar xvf -
You should review and edit lighttpd.conf
before next step.
podman run -d --name=lighttpd \
-v /data/lighttpd/etc:/etc/lighttpd \
-v /data/lighttpd/htdocs:/var/www/localhost/htdocs \
-v /data/lighttpd/lib:/var/lib/lighttpd \
-P \
quay.io/bashell/alpine-lighttpd
podman logs -f lighttpd