ipquery supports using custom GeoLite2 databases via mounted volumes, but currently updated MMDB files are only picked up after restarting the container.
This makes regular geoipupdate usage inconvenient and introduces avoidable downtime for API consumers.
It would be useful if ipquery could:
- periodically detect changes to
GeoLite2-City.mmdb and GeoLite2-ASN.mmdb;
- safely reopen and replace the active database readers;
- continue using the previous database if reload fails;
- optionally allow configuring the reload interval via an environment variable.
This would make it possible to keep /geolite mounted read-only and update MaxMind databases automatically without restarting the service.
ipquerysupports using custom GeoLite2 databases via mounted volumes, but currently updated MMDB files are only picked up after restarting the container.This makes regular
geoipupdateusage inconvenient and introduces avoidable downtime for API consumers.It would be useful if
ipquerycould:GeoLite2-City.mmdbandGeoLite2-ASN.mmdb;This would make it possible to keep
/geolitemounted read-only and update MaxMind databases automatically without restarting the service.