feat: add optional matomo tracking for pageviews and download
This commit is contained in:
@@ -17,6 +17,9 @@ services:
|
||||
# Optional aktivieren für App-Login:
|
||||
- WEB_AUTH_USER=${WEB_AUTH_USER:-}
|
||||
- WEB_AUTH_PASSWORD=${WEB_AUTH_PASSWORD:-}
|
||||
# Optional Matomo-Tracking:
|
||||
- MATOMO_URL=${MATOMO_URL:-}
|
||||
- MATOMO_SITE_ID=${MATOMO_SITE_ID:-}
|
||||
healthcheck:
|
||||
test: ["CMD", "python3", "-c", "import http.client,sys;c=http.client.HTTPConnection('127.0.0.1',8000,timeout=5);c.request('GET','/');r=c.getresponse();sys.exit(0 if r.status in (200,401) else 1)"]
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user