Some checks are pending
Deploy info-canicule / deploy (push) Waiting to run
Le portail Météo France ne propose pas le flow client_credentials gratuit (seulement token OAuth2 court 1h, pas viable, ou API Key longue durée). On simplifie : un seul env METEOFRANCE_API_KEY → Authorization: Bearer. - lib/meteofrance-auth.ts : suppression du cache token + flow refresh - .env.tmpl : ref unique vers vault Infra/Météo France API/api_key - vault item recréé avec api_key (hidden) + created_at + expires_at - CLAUDE.md projet : section rotation API key L onglet 24 h n apparaît qu une fois api_key non vide dans le vault. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 lines
875 B
Cheetah
20 lines
875 B
Cheetah
NODE_ENV=production
|
|
PORT=4321
|
|
PUBLIC_SITE_URL=https://info-canicule.nocleus.com
|
|
|
|
# Valkey shared infra — DB 0 (isolation par préfixe `info-canicule:*` via ACL)
|
|
REDIS_URL=redis://info-canicule:{{ pass://Infra/Valkey — info-canicule/password }}@valkey:6379/0
|
|
|
|
VIGILANCE_PROVIDER=opendatasoft
|
|
VIGILANCE_CACHE_TTL=900
|
|
|
|
# Umami analytics (RGPD, auto-hébergé — analytics.nocleus.com)
|
|
UMAMI_WEBSITE_ID={{ pass://Infra/Umami — info-canicule/website_id }}
|
|
UMAMI_SRC=https://analytics.nocleus.com/script.js
|
|
|
|
# GlitchTip (optionnel — si vide, pas d'envoi Sentry)
|
|
SENTRY_DSN={{ pass://Infra/Info Canicule — secrets/SENTRY_DSN }}
|
|
|
|
# Météo France API (portail-api.meteofrance.fr) — API Key longue durée
|
|
# Header `Authorization: Bearer <key>`. Rotation : recréer sur portail, vault, make env, redeploy.
|
|
METEOFRANCE_API_KEY={{ pass://Infra/Météo France API/api_key }}
|