initial commit for GeoLite.mmdb

This commit is contained in:
Paul 2021-11-07 17:02:40 +01:00
commit f76d1a5a24
2 changed files with 46 additions and 0 deletions

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: Download GeoLite.mmdb
image: ubuntu:latest
commands:
- wget -nv -O- "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=$LICENSE_KEY&suffix=tar.gz" | tar zxv
- wget -nv -O- "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=$LICENSE_KEY&suffix=tar.gz" | tar zxv
- wget -nv -O- "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=$LICENSE_KEY&suffix=tar.gz" | tar zxv
- mkdir -p upload
- cp -v GeoLite*/*.mmdb upload
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.paulbsd.com
api_key:
from_secret: gitea_token
files: "upload/*"

25
README.md Normal file
View File

@ -0,0 +1,25 @@
# GeoLite.mmdb
[MaxMind's GeoLite2](https://dev.maxmind.com/geoip/geoip2/geolite2/) Country, City, and ASN databases
## Download
### URL1
[GeoLite2-ASN.mmdb](https://git.io/GeoLite2-ASN.mmdb)
[GeoLite2-City.mmdb](https://git.io/GeoLite2-City.mmdb)
[GeoLite2-Country.mmdb](https://git.io/GeoLite2-Country.mmdb)
### URL2
[GeoLite2-ASN.mmdb](https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-ASN.mmdb)
[GeoLite2-City.mmdb](https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb)
[GeoLite2-Country.mmdb](https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-Country.mmdb)
## License
Database and Contents Copyright (c) [MaxMind](https://www.maxmind.com/), Inc.