Skip to content

Athlon1600/maxmind-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download MaxMind Databases

GitHub GitHub last commit GitHub Workflow Status Docker Pulls

Dockerized script for downloading MaxMind databases:

  • GeoLite2-ASN.mmdb
  • GeoLite2-City.mmdb

Usage

Replace credentials with your own, and then run:

docker pull athlon1600/maxmind-download:latest
docker run --rm -v /usr/share/GeoIP:/maxmind -e ACCOUNT_ID=xxx -e LICENSE_KEY=xxx maxmind-download

✔️ Database files will be downloaded to /usr/share/GeoIP directory.

You are limited to 30 downloads in a 24-hour period as per:
https://support.maxmind.com/hc/en-us/articles/4408216129947-Download-and-Update-Databases#h_01G3XX4YD33TBJ66DYEW7XF707

🌎 CDN Links

databases directory of this repo will always contain up-to-date database files, which you can download directly via CDN:

https://github.com/Athlon1600/maxmind-download/raw/master/databases/GeoLite2-ASN.mmdb
https://github.com/Athlon1600/maxmind-download/raw/master/databases/GeoLite2-City.mmdb

jsDelivr CDN:

https://cdn.jsdelivr.net/gh/athlon1600/maxmind-download@master/databases/GeoLite2-ASN.mmdb
https://cdn.jsdelivr.net/gh/athlon1600/maxmind-download@master/databases/GeoLite2-City.mmdb

License

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Links