GitHub issue traefik-log-dashboard #237, opened by
kim-ip2locationon GitHub
The dashboard already looks up country (and city when available) through a list of HTTP GeoIP providers, defaulting to ipwho.is, plus an optional local MaxMind-style MMDB. HTTP providers are called as {baseUrl}/{ip} and the JSON parser expects ipwho.is-style fields.
IP2Location.io uses a different URL and JSON shape, so it would need a small adapter (or a documented URL pattern) rather than being dropped in as another GEOIP_PROVIDER_URLS entry. The free plan is 50,000 queries a month with a key. Keyless use is limited to 1,000 queries a day. Attribution is required on both. Docs: IP Geolocation API Documentation | IP2Location.io
Operators who prefer a local file could keep using GEOIP_LOCAL_DB_PATH with an IP2Location LITE MMDB (CC BY-SA 4.0, attribution required). Free signup: Create a Free Account | IP2Location
Would an optional IP2Location.io adapter be useful? If not, no problem.
Happy to help with questions either way. Contact: support@ip2location.com
Kim
Disclosure: I work at IP2Location. I’m sharing this because I think it fits the project, and I’m happy to help with questions or maintenance either way.
Discuss it here. Status, fixes and code review stay on GitHub.