Files
education-flagger/.env.example

21 lines
585 B
Plaintext

# MaxMind (create a free GeoLite2 license key in your MaxMind account)
MAXMIND_LICENSE_KEY=your_maxmind_license_key
# PeeringDB (optional; reduces rate limits)
PDB_API_KEY=your_peeringdb_api_key
# existing Traefik/proxy network name (must already exist)
PROXY_NETWORK=proxy
# update interval in seconds (30 days)
UPDATE_INTERVAL_SECONDS=2592000
# PeeringDB info_type filter (should match PeeringDB values)
PDB_INFO_TYPE=Educational/Research
# minimum ASN entries for healthy /healthz
MIN_ASN_COUNT=10
# retry interval after a failed update (e.g., MaxMind 429)
RETRY_SECONDS=3600