Astro 5 SSR + ioredis cache Valkey, déployable sur shared-net. - Vigilance temps réel via Opendatasoft (no-auth, LOv2) - Carte SVG des 96 départements (gregoiredavid/france-geojson) - Climato T° 30j par dept (CSV.GZ Météo France, cache 24h) - Conseils officiels par phénomène (7 types Vigilance) - /api/health (UptimeRobot) + /api/vigilance (JSON public CORS *) - Dockerfile multi-stage, CI Forgejo deploy.yml (pattern Reteno) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
14 lines
441 B
Text
14 lines
441 B
Text
# Application
|
|
NODE_ENV=development
|
|
PORT=4321
|
|
PUBLIC_SITE_URL=http://localhost:4321
|
|
|
|
# Valkey (Redis) — dev local utilise un container, prod utilise l'infra partagée
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Vigilance provider
|
|
# `opendatasoft` (default, no auth) ou `meteofrance` (token requis)
|
|
VIGILANCE_PROVIDER=opendatasoft
|
|
|
|
# TTL du cache Vigilance en secondes (Vigilance se met à jour 2x/jour, 15min raisonnable)
|
|
VIGILANCE_CACHE_TTL=900
|