HUB
Sign inSign up

yanikore/goaccess-nginx

By yanikore

•Updated over 1 year ago

A Docker container based on Alpine that runs an Nginx server for live GoAccess analytics.

Image
Web analytics
0

1.9K

yanikore/goaccess-nginx repository overview

⁠GoAccess + Nginx Docker Container

A Docker container based on Alpine that runs an Nginx server for live GoAccess analytics. It has websocket support for live autoupdates. Based partially off GregYankovoy/docker-goaccess⁠.

Github: https://github.com/yani/docker-goaccess-nginx⁠

⁠Usage

docker run -d \
    --name goaccess \
    --restart unless-stopped \
    -p 7889:7889 \
    -v /var/log/nginx:/opt/log \
    -v /var/goaccess:/config \
    yanikore/goaccess-nginx

You can edit the goaccess.conf file in the chosen config directory. It will be empty but you can put your custom GoAccess configuration values there and it will overwrite them.

⁠Push

docker build -t goaccess-nginx:1.9.3 .
docker tag goaccess-nginx:1.9.3 yanikore/goaccess-nginx:1.9.3
docker push yanikore/goaccess-nginx:1.9.3

docker tag goaccess-nginx:1.9.3 yanikore/goaccess-nginx:latest
docker push yanikore/goaccess-nginx:latest
Tag summary
Recent tags
Content type
Image
Digest
sha256:b0ec5fdb2…
Size
140.1 MB
Last updated
over 1 year ago
docker pull yanikore/goaccess-nginx:latest