Hi, there!
Here is a ready to deploy ip geo location server, It works for both ip v4 and ip v6, However the underlying database is not that huge, It makes use of the OpenGeoFeed database found here,
Here's a command to do that ->
docker run -p 8080:8080 chandan313/ip-geo-api
curl localhost:8080/getIpInfo?addr=140.82.114.3
{ "country": "US", "ok": true }
The database is licensed under CC0,
It means -
CC0 doesn't legally require users of the data to cite the source!
But feel free to attribute the ip database provider! <3
The code in this repository is licensed under the MIT License!
There are some work yet to be done, like setting up github actions, but the current docker image which is hosted on docker hub is usable!