Sign inSign up

igortimoshenko/docker-maxmind-geoip

By igortimoshenko

•Updated almost 10 years ago

Dockerfile of maxmind-geoip for Docker's automated build

Image
1

1M+

igortimoshenko/docker-maxmind-geoip repository overview

⁠maxmind-geoip Dockerfile

This repository contains Dockerfile of maxmind-geoip⁠ for Docker⁠'s automated build⁠ published to the public Docker Hub Registry⁠.

⁠Base Docker Image
⁠Installation
  1. Install Docker⁠.

  2. Download automated build⁠ from public Docker Hub Registry⁠: docker pull igortimoshenko/docker-maxmind-geoip

    (alternatively, you can build an image from Dockerfile: docker build -t="igortimoshenko/docker-maxmind-geoip" github.com/igortimoshenko/docker-maxmind-geoip)

⁠Usage
docker run -d \
igortimoshenko/docker-maxmind-geoip

Available environment variables:

Environment variableDefault valueDescription
CRONTAB_MAILTOrootThe cron mailto
CRONTAB_FREQUENCY0 0 * * 1The cron frequency to run geoipupdate
USER_ID999999The Maxmind GeoIP user ID
LICENSE_KEY000000000000The Maxmind GeoIP license key
PRODUCT_IDSGeoLite2-City GeoLite2-Country GeoLite-Legacy-IPv6-City GeoLite-Legacy-IPv6-Country 506 517 533The list of Maxmind GeoIP's product IDs to update separated by space

The Dockerfile provides the /usr/share/GeoIP volume so you can use it as a data container.

Tag summary

Content type

Image

Digest

Size

86.1 MB

Last updated

almost 10 years ago

docker pull igortimoshenko/docker-maxmind-geoip