1
0
Fork 0
 
Go to file
Fábio Mendes fde8208946
Change version config file and port number
2021-05-16 14:34:04 -04:00
Dockerfile Update build alpine to latest 2021-05-16 14:08:29 -04:00
README.md Initial commit 2019-09-26 14:57:59 +08:00
docker-compose.yml Change version config file and port number 2021-05-16 14:34:04 -04:00
lwan.conf Initial commit 2019-09-26 14:57:59 +08:00

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