Files
kontakt-api/.env.example
T
kerimatilganandClaude Opus 4.8 a617846aa9 Kontaktformular-Dienst (Node + nodemailer), self-hosted für Coolify
- POST /api/kontakt: validiert, Honeypot-Spamschutz, Rate-Limit (5/10min)
- Versand per SMTP über eigenes Postfach, keine Speicherung/DB
- CORS auf die eigene Website beschränkt (ALLOWED_ORIGIN)
- Konfiguration komplett über Environment-Variablen (.env.example)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 15:13:38 +02:00

20 lines
617 B
Bash

# Diese Werte in Coolify als Environment-Variablen setzen (NICHT committen).
# Welche Website darf das Formular abschicken (CORS). Kommagetrennt möglich.
ALLOWED_ORIGIN=https://atilgan-gartenbau.de,https://www.atilgan-gartenbau.de
# SMTP-Zugang des Postfachs, über das gesendet wird
SMTP_HOST=mail.euer-provider.de
SMTP_PORT=587
SMTP_SECURE=false # true bei Port 465
SMTP_USER=info@adnan-atilgan.de
SMTP_PASS=euer-postfach-passwort
# Empfänger & Absender
MAIL_TO=info@adnan-atilgan.de
MAIL_FROM=info@adnan-atilgan.de
MAIL_SUBJECT_PREFIX=[Webseite]
# Port (Coolify setzt den i. d. R. selbst)
PORT=3000