Fixed access free GeoLite2
This commit is contained in:
parent
9c05e94426
commit
fb379ba63a
3 changed files with 0 additions and 9 deletions
|
@ -55,14 +55,6 @@ RUN set -o pipefail \
|
||||||
&& cp -rf themes/default/public/admin/favicon.ico favicon.ico \
|
&& cp -rf themes/default/public/admin/favicon.ico favicon.ico \
|
||||||
&& cp -rf themes/default/public/desktop/img/player$(( ( RANDOM % 7 ) + 1 )).png \
|
&& cp -rf themes/default/public/desktop/img/player$(( ( RANDOM % 7 ) + 1 )).png \
|
||||||
themes/default/public/desktop/img/player.png \
|
themes/default/public/desktop/img/player.png \
|
||||||
&& wget -qO geo.tar.gz http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz \
|
|
||||||
&& tar xfz geo.tar.gz \
|
|
||||||
&& mv GeoLite2-City_*/GeoLite2-City.mmdb files/GeoLite2-City.mmdb \
|
|
||||||
&& rm -rf geo.tar.gz GeoLite2-City_* \
|
|
||||||
&& wget -qO geo.tar.gz http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz \
|
|
||||||
&& tar xfz geo.tar.gz \
|
|
||||||
&& mv GeoLite2-Country_*/GeoLite2-Country.mmdb files/GeoLite2-Country.mmdb \
|
|
||||||
&& rm -rf geo.tar.gz GeoLite2-Country_* \
|
|
||||||
&& echo -e "#!/bin/bash\n/usr/bin/cinemapress container backup create >> /home/\${CP_DOMAIN}/log/backup_\$(date '+%d_%m_%Y').log" \
|
&& echo -e "#!/bin/bash\n/usr/bin/cinemapress container backup create >> /home/\${CP_DOMAIN}/log/backup_\$(date '+%d_%m_%Y').log" \
|
||||||
> /etc/periodic/daily/backup \
|
> /etc/periodic/daily/backup \
|
||||||
&& chmod a+x /etc/periodic/daily/backup \
|
&& chmod a+x /etc/periodic/daily/backup \
|
||||||
|
|
|
@ -1598,7 +1598,6 @@ docker_backup() {
|
||||||
-uf /var/${CP_DOMAIN}/config.tar config
|
-uf /var/${CP_DOMAIN}/config.tar config
|
||||||
cd /home/${CP_DOMAIN} && \
|
cd /home/${CP_DOMAIN} && \
|
||||||
tar --exclude=files/GeoLite2-Country.mmdb \
|
tar --exclude=files/GeoLite2-Country.mmdb \
|
||||||
--exclude=files/GeoLite2-City.mmdb \
|
|
||||||
--exclude=files/bbb.mp4 \
|
--exclude=files/bbb.mp4 \
|
||||||
-uf /var/${CP_DOMAIN}/themes.tar \
|
-uf /var/${CP_DOMAIN}/themes.tar \
|
||||||
themes/default/public/desktop \
|
themes/default/public/desktop \
|
||||||
|
|
BIN
files/GeoLite2-Country.mmdb
Normal file
BIN
files/GeoLite2-Country.mmdb
Normal file
Binary file not shown.
Loading…
Reference in a new issue