mirror of
				https://github.com/linuxserver/docker-swag.git
				synced 2025-10-31 21:17:42 +09:00 
			
		
		
		
	fix libmaxminddb updater
This commit is contained in:
		| @@ -327,6 +327,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 | |||||||
|  |  | ||||||
| ## Versions | ## Versions | ||||||
|  |  | ||||||
|  | * **15.07.21:** - Fix libmaxminddb issue due to upstream change. | ||||||
| * **07.07.21:** - Rebase to alpine 3.14. | * **07.07.21:** - Rebase to alpine 3.14. | ||||||
| * **24.06.21:** - Update default nginx conf folder. | * **24.06.21:** - Update default nginx conf folder. | ||||||
| * **28.05.21:** - [Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) authelia-server.conf - Use `resolver.conf` and patch for `CVE-2021-32637`. | * **28.05.21:** - [Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) authelia-server.conf - Use `resolver.conf` and patch for `CVE-2021-32637`. | ||||||
|   | |||||||
| @@ -151,6 +151,7 @@ app_setup_nginx_reverse_proxy_block: "" | |||||||
|  |  | ||||||
| # changelog | # changelog | ||||||
| changelogs: | changelogs: | ||||||
|  |   - { date: "15.07.21:", desc: "Fix libmaxminddb issue due to upstream change." } | ||||||
|   - { date: "07.07.21:", desc: "Rebase to alpine 3.14." } |   - { date: "07.07.21:", desc: "Rebase to alpine 3.14." } | ||||||
|   - { date: "24.06.21:", desc: "Update default nginx conf folder." } |   - { date: "24.06.21:", desc: "Update default nginx conf folder." } | ||||||
|   - { date: "28.05.21:", desc: "[Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) authelia-server.conf - Use `resolver.conf` and patch for `CVE-2021-32637`." } |   - { date: "28.05.21:", desc: "[Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) authelia-server.conf - Use `resolver.conf` and patch for `CVE-2021-32637`." } | ||||||
|   | |||||||
| @@ -355,7 +355,7 @@ fi | |||||||
|     ln -s /config/geoip2db /var/lib/libmaxminddb |     ln -s /config/geoip2db /var/lib/libmaxminddb | ||||||
| # check GeoIP2 database | # check GeoIP2 database | ||||||
| if [ -n "$MAXMINDDB_LICENSE_KEY" ]; then | if [ -n "$MAXMINDDB_LICENSE_KEY" ]; then | ||||||
|     sed -i "s|.*MAXMINDDB_LICENSE_KEY.*|MAXMINDDB_LICENSE_KEY=\"${MAXMINDDB_LICENSE_KEY}\"|g" /etc/conf.d/libmaxminddb |     sed -i "s|.*MAXMINDDB_LICENSE_KEY.*|MAXMINDDB_LICENSE_KEY=\"${MAXMINDDB_LICENSE_KEY}\"|g" /etc/libmaxminddb.cron.conf | ||||||
|     if [ ! -f /var/lib/libmaxminddb/GeoLite2-City.mmdb ]; then |     if [ ! -f /var/lib/libmaxminddb/GeoLite2-City.mmdb ]; then | ||||||
|         echo "Downloading GeoIP2 City database." |         echo "Downloading GeoIP2 City database." | ||||||
|         /etc/periodic/weekly/libmaxminddb |         /etc/periodic/weekly/libmaxminddb | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user