-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (18 loc) · 1.03 KB
/
.env.example
File metadata and controls
23 lines (18 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# PeerGlass environment variables — copy to .env and customize
# ── Optional external API credentials ────────────────────────
# MaxMind GeoLite2-City database path (for peerglass_geo_lookup)
# Download free from: https://www.maxmind.com/en/geolite2/signup
PEERGLASS_GEOIP_DB=/opt/GeoLite2-City.mmdb
# RIPE Atlas API key (for peerglass_atlas_traceroute)
# Free key from: https://atlas.ripe.net/accounts/register/
PEERGLASS_RIPE_ATLAS_KEY=
# ── API server settings ───────────────────────────────────────
PEERGLASS_RATE_LIMIT=60/minute
PEERGLASS_RATE_LIMIT_HEAVY=10/minute
PEERGLASS_ALLOWED_ORIGINS=*
PEERGLASS_TIMEOUT=15.0
# ── Cache TTL overrides (seconds, 0 = use default) ───────────
PEERGLASS_TTL_BGP=0
PEERGLASS_TTL_RPKI=0
# ── Web UI (ui/.env or ui/.env.local) ────────────────────────
VITE_API_BASE_URL=http://localhost:8000