Tag: WordPress

[Docker] How to Set up Postfix Containers and Send Emails From WordPress in Docker

Add SMTP mail functionality to the official Docker WordPress image. See how to
– Install Postfix in a separate Docker container: 2 examples — with DKIM and without.
– Connect to these Postfix containers from the WordPress Docker container.
– Add Postfix to the Docker WordPress container with a Dockerfile.
– Set a PTR record for reverse DNS lookup.
– Set DNS records: SPF and DKIM.

How to Add Xdebug to the Official Docker WordPress Image

Use a Dockerfile to add XDebug to the official Docker WordPress image:
– Build your own WordPress image with XDebug enabled.
See examples of Dockerfile and docker-compose.yml.
– Do not want to build? Download a pre-made image from a repository on Docker Hub.
– See how to configure PhpStorm for debugging.
– Learn how to separate production and development environments using multiple Docker Compose files.
– See how to use Nginx in a Docker container as a Reverse Proxy.
– See how to add PHP extensions to the Docker WordPress Image.