Skip to content

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

License

Notifications You must be signed in to change notification settings

onepica/docker-maxmind-geoip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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 variable Default value Description
CRONTAB_MAILTO root The cron mailto
CRONTAB_FREQUENCY 0 0 * * 1 The cron frequency to run geoipupdate
USER_ID 999999 The Maxmind GeoIP user ID
LICENSE_KEY 000000000000 The Maxmind GeoIP license key
PRODUCT_IDS GeoLite2-City GeoLite2-Country GeoLite-Legacy-IPv6-City GeoLite-Legacy-IPv6-Country 506 517 533 The 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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%