Skip to content

Instantly share code, notes, and snippets.

View rumbis's full-sized avatar
🏠
Working from home

George Alexandrou rumbis

🏠
Working from home
  • Cyprus
View GitHub Profile
@rumbis
rumbis / README.md
Last active December 22, 2021 00:07 — forked from orlando/Dockerfile
WordPress Docker SMTP email configuration with environment variables

You need to provide these variables

  • WORDPRESS_SMTP_HOST - SMTP host
  • WORDPRESS_SMTP_PORT - SMTP port
  • WORDPRESS_SMTP_USERNAME - SMTP username
  • WORDPRESS_SMTP_PASSWORD - SMTP password
  • WORDPRESS_SMTP_FROM - address from which emails are sent in wordpress
  • WORDPRESS_SMTP_FROM_NAME - name in wordpress emails

I'm using this with mailgun credentials and works great