Skip to content

bashell-com/alpine-lighttpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lighttpd on Alpine

Docker Repository on Quay

Usage

(If you're using Docker™, please change command podman to docker.)

Configuration and Data Storage

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.

Run

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

Log

podman logs -f lighttpd

Releases

No releases published

Packages

No packages published