I was going to, but… well, it’s very odd. Mailhog’s example docker-compose.yml says the following in the “ports” section:
But when I tried to start it up, Docker just gave me error messages about that parameter being wrong. In the end, the only way I found to make it work was to edit it to this:
So yesterday, before opening the Github issue, I tried to confirm this bug. I stopped my containers, put the original Mailhog’s docker-compose.override.yml (the one with the first line above) and then did “docker-compose up -d” again… and it worked.
So now I don’t know if the example file is wrong or there’s something else going on. I’m by no means a Docker expert, and I don’t know which is the right syntax, so in the end I didn’t open the GitHub issue, since I don’t even know whether it’s a bug or not.