Geo IP Location
Introduction
The component GeoIp provides geo IP location features.
Setup
The GeoIp component does require a IP-location database to work. The latter is not part of the distribution. As it has to be obtained directly from MaxMind.
After obtaining an account-id and license-key, the IP-location database can be integrated by extending the docker-compose.yml file as follows:
-
Add new service
geoipupdateto sectionservices:
Note
Replace
${GEOIPUPDATE_ACCOUNT_ID}and${GEOIPUPDATE_LICENSE_KEY}by your account-id
and license-key or set those environment variables in a env_file. -
Add new network
geoipupdateto sectionnetworks:
-
Restart env:
Info
This product includes GeoLite2 Data created by MaxMind, available from https://www.maxmind.com.