feat(weather): OWM-Fallback über Server-.env wenn kein User-Key

Wetter-Proxy auf /api/weather/current nutzt optionalen Nutzer-Key aus
den Einstellungen, sonst OpenWeatherMapAPIKey aus der Umgebung.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-30 12:37:58 +02:00
co-authored by Cursor
parent 69d5203305
commit 03bb55f9a1
8 changed files with 160 additions and 48 deletions
+1
View File
@@ -29,6 +29,7 @@ services:
VAPID_PUBLIC_KEY: ${VAPID_PUBLIC_KEY:-}
VAPID_PRIVATE_KEY: ${VAPID_PRIVATE_KEY:-}
VAPID_SUBJECT: ${VAPID_SUBJECT:-mailto:support@kapteins-daagbok.eu}
OpenWeatherMapAPIKey: ${OpenWeatherMapAPIKey:-}
command: sh -c "npx prisma db push && node dist/index.js"
depends_on:
db: