aports/main/libmaxminddb/libmaxminddb.confd
aptalca 16e467bff9 main/libmaxminddb: fix database retrieval
- Allow MaxMind license key input required for downloads
 - Update db retrieval (new endpoint with license key
   and new compressed file structure)

MaxMind stopped allowing direct downloads of free databases without
a license key:
  https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

This commit allows user input of license key, which can be retrieved
for free by registering on their website:
  https://www.maxmind.com/en/geolite2/signup
2020-05-15 08:39:33 +03:00

12 lines
351 B
Bash
Executable File

# Database files to download
# MAXMINDDB_FILES="GeoLite2-City.mmdb"
# Database download directory
# MAXMINDDB_URL="https://download.maxmind.com/app/geoip_download"
# Local target directory
# MAXMINDDB_LIBDIR="/var/lib/libmaxminddb"
# MaxMind license key, can be retrieved through https://www.maxmind.com/en/geolite2/signup
MAXMINDDB_LICENSE_KEY=""