* add the ip service

* update readme
This commit is contained in:
Asim Aslam
2021-06-02 16:13:11 +01:00
committed by GitHub
parent 7157db9aaa
commit 4b01ad59f2
15 changed files with 638 additions and 31 deletions

11
ip/config.md Normal file
View File

@@ -0,0 +1,11 @@
# IP Config
The ip service depends on the maxmind geolite2 dataset. You must configure its on disk location.
```
micro config set ip.city.database /tmp/GeoLite2-City.mmdb
micro config set ip.asn.database /tmp/GeoLite2-ASN.mmdb
```
In the event the config is not found it will attempt to read these two files from the local directory.
If the config value is prefixed with `blob://` it will attempt to read it from the blob store and store on disk.