Skip to content

Commit

Permalink
add examples into geolocation config error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Oct 28, 2022
1 parent 053e836 commit 9cc7372
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,17 @@ geo_opts =
Missing geolocation database configuration.
Please set the IP_GEOLOCATION_DB environment value to the location of
your IP geolocation .mmdb file. Or authenticate with MaxMind by
configuring MAXMIND_LICENSE_KEY and MAXMIND_EDITION environment
variables.
your IP geolocation .mmdb file:
IP_GEOLOCATION_DB=/etc/plausible/dbip-city.mmdb
Or authenticate with MaxMind by
configuring MAXMIND_LICENSE_KEY and (optionally) MAXMIND_EDITION environment
variables:
MAXMIND_LICENSE_KEY=LNpsJCCKPis6XvBP
MAXMIND_EDITION=GeoLite2-City # this is the default edition
"""
end

Expand Down

0 comments on commit 9cc7372

Please sign in to comment.