Lightweight simple static file viewer
This is the simple web server which can read a static files.
WEB
I cannot confirm the latest static resource when I manage the static resources such as html or the image in git if there is not git environment.
I made Simple static file viewer to solve it.
I use Alpine linux-based nginx and can use it in familiar UI by autoindex.
It is lightweight and is simple and can easily customize it by nginx which got used to treating it.
githtmlgit
Simple static file viewer
Alpine linuxnginxautoindexUI
nginx
Change the version of docker-compose.yml from 3 to 2 when you use docker which does not support v3 of docker-compose.
docker-composev3dockerdocker-compose.ymlversion32
Edit docker-compose.yml.
environment:
- LANG=ja_JP.UTF-8
Edit docker-compose.yml.
environment:
- TZ=Asia/Tokyo
Customize default.conf freely.
default.conf is read as follows by nginx.conf.
default.conf
default.confnginx.conf
include /etc/nginx/conf.d/*.conf;
In Docker for mac, xhyve is used for virtualization, but the problem that the same period of the time cannot perform during sleep of macOS is reported.
Docker for macxhyvemacOS
Time drift in Moby VM and containers caused by system sleep #17