Sign inSign up

semhoun/lighttpd

By semhoun

•Updated 6 months ago

Lighttpd Docker Image

Image
Web servers
0

457

semhoun/lighttpd repository overview

⁠Lighttpd Docker Image

License: MIT Docker Image Size Docker Pulls

A lightweight Docker image for Lighttpd⁠, a secure, fast, and flexible web server optimized for high-performance environments.

⁠Features

  • Based on Debian slim for minimal footprint
  • Automatic detection of public/ subdirectory as document root
  • Simple volume-based configuration
  • Ready for production use

⁠Prerequisites

⁠Quick Start

⁠Docker
docker run -d \
  -p 8080:80 \
  -v $(pwd)/www:/www \
  --name lighttpd \
  semhoun/lighttpd
⁠Docker Compose
version: "3.8"

services:
  lighttpd:
    image: semhoun/lighttpd
    container_name: lighttpd
    volumes:
      - ./www:/www
    ports:
      - "8080:80"
    restart: unless-stopped

Then run:

docker-compose up -d

⁠Configuration

⁠Volumes
PathDescription
/wwwWeb root directory. If a public/ subdirectory exists, it will be used as the document root automatically.
⁠Ports
PortDescription
80HTTP port

⁠Project Structure

./www/
├── index.html          # Main entry point
└── ...

⁠Building from Source

git clone https://github.com/nathanael-semhoun/docker_lighttpd.git
cd docker_lighttpd
docker build -t my-lighttpd .

⁠License

This project is licensed under the MIT License. See LICENSE⁠ for details.

⁠Author

Tag summary

Content type

Image

Digest

sha256:79848b302…

Size

90.7 MB

Last updated

6 months ago

docker pull semhoun/lighttpd