mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 15:05:01 +00:00
11
ip/config.md
Normal file
11
ip/config.md
Normal 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.
|
||||
Reference in New Issue
Block a user