You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ambrose Chua 621e0793fd
Initial commit
2 years ago
Dockerfile Initial commit 2 years ago
README.md Initial commit 2 years ago
lwan.conf Initial commit 2 years ago

README.md

lwan

A tiny Lwan Web Server image compressed with UPX.

Notice: I keep this manually updated. If it goes out of date, ping me via Twitter @serverwentdown.

Usage

Serve files in $PWD:

docker run -it --rm -p 8080:8080 -v $PWD:/srv productionwentdown/lwan

Overwrite lwan.conf:

docker run -it --rm -p 8080:8080 -v $PWD:/srv -v $PWD/lwan.conf:/etc/lwan.conf productionwentdown/lwan

Run as specific user:

docker run -it --rm -p 8080:8080 -v $PWD:/srv --user 900 productionwentdown/lwan