Closed fubarhouse closed 3 years ago
Noting that MailHub ports will need to be changed on the container (SMTP configuration) to match the new port, the following will change the port binding on the host to 2025
to allow for multiple mailhog instances to be ran locally - though other mailhog instances would need such configuration and consideration. This has been tested:
services:
amazeeio-mailhog:
HostConfig:
PortBindings:
1025/tcp:
- HostPort: 2025
More information: https://pastebin.com/UPFdfJFQ
Background
To avoid port conflict for other mailhog instances, it could be useful to run Pygmy's mailhog on separate ports.
Implementation
Docker
Variables
Volumes