Sign inSign up

bcit/openshift-mailhog

By bcit

•Updated over 6 years ago

Mailhog image for running in OpenShift

Image
0

10K+

bcit/openshift-mailhog repository overview

⁠mailhog OpenShift image

⁠Labels

See Docker Cloud⁠ for full listing but the main ones are:

⁠Default Behavior

Runs mailhog with in memory storage.

  • Runs smtp on 1025
  • Runs WebUI on 8025
docker pull bcit/openshift-php-fpm
docker run -it -u 100000 -p 8025:8025 -p 1025:1025 bcit/openshift-php-fpm

⁠Configure openshift-mailhog

Sample Config

Environment VarValueDescription
MAILHOG_PASSmyPassword
MH_HOSTNAMEmailhog.internal.website
MH_STORAGEmongodbuse external mongo server
MH_MONGO_URImongo:27017
SMTPOUT_HOSTharaka-mail-forwarding.internal.svcrelay off another mail server that supports auth
SMTPOUT_PORT1025
SMTPOUT_SERVERNAME ourMailRelay
⁠Mailhog Environmental Variables

See here for all options: https://github.com/mailhog/MailHog/blob/master/docs/CONFIG.md⁠

⁠openshift-mailhog Environmental Variables
Environment VarDescription
MAILHOG_PASSPassword to secure the web UI
SMTPOUT_HOSTOutgoing SMTP hostname (Used to pre-define option in web UI)
SMTPOUT_PORTOutgoing SMTP port (Used to pre-define option in web UI)
SMTPOUT_SERVERNAMEOutgoing SMTP name (Used to pre-define option in web UI)

Tag summary

Content type

Image

Digest

Size

19.3 MB

Last updated

over 6 years ago

docker pull bcit/openshift-mailhog