Adds visitor dashboard and related features

This commit is contained in:
2026-06-28 06:41:23 +00:00
parent a7cccbf170
commit 77d1c04d86
35 changed files with 1938 additions and 8 deletions
+15
View File
@@ -0,0 +1,15 @@
# GeoLite2 City Database
The visitor stats dashboard uses MaxMind GeoLite2 for IP geolocation.
## Setup
1. Create a free account at [MaxMind GeoLite2](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data)
2. Download the **GeoLite2 City** database (`.mmdb` format, not CSV)
3. Place the downloaded file here as `GeoLite2-City.mmdb`
The file is git-ignored (~60 MB, licensed). The Docker build copies it into the container at `/app/geo/GeoLite2-City.mmdb`.
## Without the database
The backend starts but geo lookups are disabled. The dashboard shows visitor counts without country/region breakdown.