Skip to content

Commit

Permalink
auto update geolite-*.mmdb
Browse files Browse the repository at this point in the history
  • Loading branch information
FunnyWolf committed Aug 14, 2023
1 parent 867941b commit 066f5f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env bash

# update geolite
wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-ASN.mmdb -O /root/viper/STATICFILES/STATIC/GeoLite2-ASN.mmdb
wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb -O /root/viper/STATICFILES/STATIC/GeoLite2-City.mmdb
wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-Country.mmdb -O /root/viper/STATICFILES/STATIC/GeoLite2-Country.mmdb

cd /root/viper/ || exit
mv ./Docker/CONFIG_docker.py CONFIG.py
chmod 755 viper.py
Expand Down

0 comments on commit 066f5f0

Please sign in to comment.