Mailhog image for running in OpenShift
10.0K
See Docker Cloud for full listing but the main ones are:
Runs mailhog with in memory storage.
docker pull bcit/openshift-php-fpm
docker run -it -u 100000 -p 8025:8025 -p 1025:1025 bcit/openshift-php-fpm
Sample Config
| Environment Var | Value | Description |
|---|---|---|
| MAILHOG_PASS | myPassword | |
| MH_HOSTNAME | mailhog.internal.website | |
| MH_STORAGE | mongodb | use external mongo server |
| MH_MONGO_URI | mongo:27017 | |
| SMTPOUT_HOST | haraka-mail-forwarding.internal.svc | relay off another mail server that supports auth |
| SMTPOUT_PORT | 1025 | |
| SMTPOUT_SERVERNAME ourMailRelay |
See here for all options: https://github.com/mailhog/MailHog/blob/master/docs/CONFIG.md
| Environment Var | Description |
|---|---|
| MAILHOG_PASS | Password to secure the web UI |
| SMTPOUT_HOST | Outgoing SMTP hostname (Used to pre-define option in web UI) |
| SMTPOUT_PORT | Outgoing SMTP port (Used to pre-define option in web UI) |
| SMTPOUT_SERVERNAME | Outgoing SMTP name (Used to pre-define option in web UI) |
Content type
Image
Digest
Size
19.3 MB
Last updated
about 6 years ago
docker pull bcit/openshift-mailhog