mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Add the dbip mod
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
DATE=$(date '+%Y-%m')
|
||||
FILE="https://download.db-ip.com/free/dbip-country-lite-${DATE}.mmdb.gz"
|
||||
|
||||
wget -O /tmp/dbip-country-lite.mmdb.gz $FILE
|
||||
gzip -df /tmp/dbip-country-lite.mmdb.gz
|
||||
mv -f /tmp/dbip-country-lite.mmdb /config/geoip2db/dbip-country-lite.mmdb
|
||||
exit 0
|
||||
Reference in New Issue
Block a user