ghudiczius/awstats
Simple docker image for AWStats
337
Simple docker image for AWStats with HeoIP support, built on the official perl image. AWStats runs as user awstats
with uid
and gid
1000
.
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 ghudiczius/awstats