Add a server-side analytics page
This commit is contained in:
parent
8185ad979d
commit
df017b3ee6
1 changed files with 10 additions and 0 deletions
|
@ -6,8 +6,18 @@ services:
|
|||
environment:
|
||||
- TZ=Europe/London
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./access.log:/var/log/nginx/access.log
|
||||
- ./report.html:/usr/share/nginx/html/stats/index.html:ro
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.website.rule=Host(`theorangeone.net`) || Host(`www.theorangeone.net`)"
|
||||
- "traefik.http.routers.website.tls=true"
|
||||
- "traefik.http.routers.website.tls.certresolver=le"
|
||||
|
||||
stats:
|
||||
image: theorangeone/goaccess-static:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./report.html:/var/www/goaccess/report.html
|
||||
- ./access.log:/goaccess/access.log:ro
|
||||
|
|
Loading…
Reference in a new issue