Docker image based on nginx:alpine that serves a static site and sends its contact form by SMTP, with optional Cloudflare Turnstile.
POST /api/contact that emails each submission to one address.linux/amd64 image on Docker Hub.docker run -d \
-p 80:80 \
-v /path/to/site:/usr/share/nginx/html:ro \
-e SMTP_HOST=smtp.example.com \
-e SMTP_PORT=465 \
-e [email protected] \
-e SMTP_PASSWORD=your-password \
-e [email protected] \
-e [email protected] \
drumsergio/nginx-mailer:1.0.0
The site is served on port 80, with /api/contact and /health behind nginx. Compose and every variable are in Getting started.
docker run, Docker Compose, and the health checkContent type
Image
Digest
sha256:85c8dc510…
Size
44.5 MB
Last updated
7 months ago
docker pull drumsergio/nginx-mailer