A docker image with GoAccess Installed, nothing more.
331
For these who have the idea what docker is, run with following commands based on my knowledge of best practices.
docker run --rm -it -v /var/log/nginx:/var/log/nginx happyjohann/goaccess
WORKSPACE_LOG=/var/log/nginx/pageviews
WORKSPACE_WEB=/var/log/nginx/pageviews
cat $WORKSPACE_LOG/http_access.log
goaccess -f $WORKSPACE_LOG/http_access.log
goaccess -f $WORKSPACE_LOG/http_access.log --log-format=COMBINED -a > $WORKSPACE_WEB/pvreport.html
If you are not familiar with docker, maybe better to try other images.
Content type
Image
Digest
Size
81.4 MB
Last updated
almost 10 years ago
docker pull happyjohann/goaccess