wordpress-docker-compose icon indicating copy to clipboard operation
wordpress-docker-compose copied to clipboard

Would you mind adding port 1025 to Mailhog?

Open ghost opened this issue 5 years ago • 2 comments

It would be nice if you could expose

- 1025:1025 # smtp server

by default in docker-compose.yml so that users easier see how to access smtp of Mailhog. It took me a while to figure it out. To anyone who has trouble configuring it: the hostname to connect to Mailhog is

host.docker.internal

and not "127.0.0.1" and the default port is 1025.

ghost avatar May 07 '20 17:05 ghost

@pdmwu AFAIK mailhog is not being installed on a standard wordpress installation by default. I suggest you make a pull request for the readme that explains how to open ports for custom services and then put mailhog as an example service.

flip111 avatar Jun 22 '20 16:06 flip111

I completely agree with @flip111; this information should be included in a dedicated section of the README.

nezhar avatar Feb 20 '24 21:02 nezhar