v1.2: E-Mail-Benachrichtigungen an Portal angeschlossen

- nginx-Proxy POST /api/mail/send -> mp-mail-api:8080 (nur POST, 64k Limit)
- Token serverseitig via envsubst-Template + portal.env (gitignored, nur Server)
- src/lib/mail.ts: fire-and-forget Versand, Empfaenger-Aufloesung (Verwaltung/Mieter)
- Benachrichtigung: neue Schadensmeldung -> Verwaltung, Nachrichten/Antworten -> Gegenstelle
- E2E live verifiziert (versandt: true an axel@hocks.eu), GET 403
- Doku (kimi.md, README) nachgefuehrt
This commit is contained in:
2026-10-02 12:21:12 +02:00
parent fbe033ebd6
commit 5503ce5fc5
9 changed files with 225 additions and 18 deletions
+2 -2
View File
@@ -20,10 +20,10 @@ echo "==> 1/4 Frontend bauen"
npm run build
echo "==> 2/4 Paket erstellen und hochladen"
rm -rf tmp-deploy && mkdir -p tmp-deploy/docker
rm -rf tmp-deploy && mkdir -p tmp-deploy/docker/templates
cp -r dist tmp-deploy/dist
cp docker-compose.yml tmp-deploy/
cp docker/nginx.conf tmp-deploy/docker/
cp docker/templates/default.conf.template tmp-deploy/docker/templates/
tar -czf mp-dist.tar.gz -C tmp-deploy .
rm -rf tmp-deploy
"$PSCP" -batch -hostkey "$HOSTKEY" -i "$KEY" -P "$PORT" \