This is a Docker image based on the official Python image, but with the MaxmindDB binary databases, the GeoIP2 Python library, and the libmaxminddb C library installed. The GEOIP_PATH
, GEOIP_COUNTRY
, GEOIP_CITY
settings are exported as environment variables.
See the Django documentation on Geolocation with GeoIP2 for more information on how to use this.