ghudiczius/awstats

By ghudiczius

Updated 15 days ago

Simple docker image for AWStats

Image
Monitoring & Observability
Web Analytics
1

337

AWStats

Simple docker image for AWStats with HeoIP support, built on the official perl image. AWStats runs as user awstats with uid and gid1000.

Usage

docker run --detach --entrypoint=/usr/sbin/fcgiwrap \
  --name=awstats-fcgiwrap \
  --rm \
  --volume=/path/to/etc/awstats/:/etc/awstats/ \
  --volume=/path/to/data/:/data/ \
  --volume=/path/to/usr/local/awstats/:/usr/local/awstats/ \
  ghudiczius/awstats:<VERSION> -s tcp:0.0.0.0:9000 -p /usr/local/awstats/wwwroot/cgi-bin/awstats.pl
docker run --entrypoint=/usr/local/bin/perl \
  --name=awstats-update \
  --rm \
  --volume=/path/to/etc/awstats/:/etc/awstats/ \
  --volume=/path/to/data/:/data/ \
  --volume=/path/to/usr/local/awstats/:/usr/local/awstats/ \
  ghudiczius/awstats:<VERSION> wwwroot/cgi-bin/awstats.pl -config=total update

or

docker run --detach --entrypoint=/usr/sbin/fcgiwrap \
  --name=awstats-fcgiwrap \
  --rm \
  --volume=/path/to/etc/awstats/:/etc/awstats/ \
  --volume=/path/to/data/:/data/ \
  --volume=/path/to/usr/local/awstats/:/usr/local/awstats/ \
  registry.gitlab.jmk.hu/docker/web/awstats:<VERSION> -s tcp:0.0.0.0:9000 -p /usr/local/awstats/wwwroot/cgi-bin/awstats.pl
docker run --entrypoint=/usr/local/bin/perl \
  --name=awstats-update \
  --rm \
  --volume=/path/to/etc/awstats/:/etc/awstats/ \
  --volume=/path/to/data/:/data/ \
  --volume=/path/to/usr/local/awstats/:/usr/local/awstats/ \
  registry.gitlab.jmk.hu/docker/web/awstats:<VERSION> wwwroot/cgi-bin/awstats.pl -config=total update

Docker Pull Command

docker pull ghudiczius/awstats