IP2Location geolocation service to lookup a visitor's location in Matomo (Piwik) 4.x, 5.x. This service allows you to determine the country, region, city, coordinates, zip code, time zone, ISP, domain, MCC, MNC, mobile brand name, elevation, usage type, address type, IAB category, and more, associated with any given IP address.
Currently, the IP2Location bin files have to be located in the source tree under $PIWIKI_SRC/misc . There is a whole bunch of things upstream under misc - https://github.com/matomo-org/matomo/tree/5.x-dev/misc/ . When deploying with docker, we delete the old matomo image and replace with new matomo image. Every time we do this, we have to remember to copy over the ip2location database. misc cannot be mounted as a volume in docker either and be part of backup because there is already some upstream source code there.
Is it possible to set an alternate location for the IP2Location bin files? This will immensely help deployment.
Currently, the IP2Location bin files have to be located in the source tree under
$PIWIKI_SRC/misc
. There is a whole bunch of things upstream under misc - https://github.com/matomo-org/matomo/tree/5.x-dev/misc/ . When deploying with docker, we delete the old matomo image and replace with new matomo image. Every time we do this, we have to remember to copy over the ip2location database.misc
cannot be mounted as a volume in docker either and be part of backup because there is already some upstream source code there.Is it possible to set an alternate location for the IP2Location bin files? This will immensely help deployment.