Initial commit

This commit is contained in:
2026-07-11 19:30:52 +02:00
commit 7183ae31bc
8 changed files with 2831 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
# ── App ───────────────────────────────────────────────────────────────────────
PORT=8000
APP_TITLE=Travel Monitor
# ── HQ Location ───────────────────────────────────────────────────────────────
# HQ_NAME is shown in the header. Optional — falls back to address or coordinates.
HQ_NAME=Head Office
HQ_ADDRESS=Storgata 1, Oslo, Norway
# If using coordinates instead of address, comment out HQ_ADDRESS and set these:
# HQ_LAT=59.9139
# HQ_LNG=10.7522
# ── Routing provider ──────────────────────────────────────────────────────────
# Supported values: openrouteservice | google | mapbox | here
# Only the API key for the chosen provider needs to be set.
ROUTING_PROVIDER=openrouteservice
# openrouteservice — free tier: 2,000 req/day — https://openrouteservice.org/dev/#/signup
ORS_API_KEY=your_key_here
# google — $200/month free credit — https://console.cloud.google.com (enable Directions + Geocoding APIs)
# GOOGLE_API_KEY=your_key_here
# mapbox — 100,000 req/month free — https://account.mapbox.com/access-tokens
# MAPBOX_API_KEY=your_key_here
# here — 250,000 req/month free — https://developer.here.com/sign-up
# HERE_API_KEY=your_key_here
# ── Refresh & thresholds ──────────────────────────────────────────────────────
REFRESH_INTERVAL=300
THRESHOLD_YELLOW=1.20
THRESHOLD_RED=1.50
THRESHOLD_DARK_RED=1.70
# ── Advanced ──────────────────────────────────────────────────────────────────
# DATA_DIR=/data