Files
Mieterportal/docker-compose.yml
T
ah-admin 5503ce5fc5 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
2026-10-02 12:21:12 +02:00

22 lines
653 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Hocks Mieterportal – Portal-Container (statisches Frontend hinter NPM)
# TLS + Subdomain liefert der Nginx Proxy Manager (npm_default-Netz).
# Deploy: ./deploy.sh baut dist/ lokal und lädt es auf den Server.
services:
mp-portal:
image: nginx:1.27-alpine
container_name: mp-portal
restart: unless-stopped
volumes:
- ./dist:/usr/share/nginx/html:ro
# envsubst ersetzt ${MAIL_API_TOKEN} beim Start aus portal.env
- ./docker/templates/default.conf.template:/etc/nginx/templates/default.conf.template:ro
env_file:
- portal.env
networks:
- npm_default
networks:
npm_default:
external: true