Files
services/ip/config.md
Asim Aslam 4b01ad59f2 Ip (#133)
* add the ip service

* update readme
2021-06-02 16:13:11 +01:00

12 lines
451 B
Markdown

# 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.