A lightweight Docker image for Lighttpd, a secure, fast, and flexible web server optimized for high-performance environments.
public/ subdirectory as document rootdocker run -d \
-p 8080:80 \
-v $(pwd)/www:/www \
--name lighttpd \
semhoun/lighttpd
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
| Path | Description |
|---|---|
/www | Web root directory. If a public/ subdirectory exists, it will be used as the document root automatically. |
| Port | Description |
|---|---|
80 | HTTP port |
./www/
├── index.html # Main entry point
└── ...
git clone https://github.com/nathanael-semhoun/docker_lighttpd.git
cd docker_lighttpd
docker build -t my-lighttpd .
This project is licensed under the MIT License. See LICENSE for details.
Content type
Image
Digest
sha256:79848b302…
Size
90.7 MB
Last updated
6 months ago
docker pull semhoun/lighttpd