HUB
Sign inSign up
mailhog logo

webuni/mailhog

By webuni

•Updated over 6 years ago

Minimal mailhog images

Image
0

2.3K

webuni/mailhog repository overview

⁠Mailhog docker image (minidocks/mailhog)

MailHog is an email testing tool for developers.

⁠Configuration

You can configure MailHog using command line options or environment variables:

EnvironmentCommand lineDefaultDescription
MH_CORS_ORIGIN-cors-originIf set, a Access-Control-Allow-Origin header is returned for API endpoints
MH_HOSTNAME-hostnamemailhog.exampleHostname to use for EHLO/HELO and message IDs
MH_API_BIND_ADDR-api-bind-addr0.0.0.0:80Interface and port for HTTP API server to bind to
MH_UI_BIND_ADDR-ui-bind-addr0.0.0.0:80Interface and port for HTTP UI server to bind to
MH_MAILDIR_PATH-maildir-pathMaildir path (for maildir storage backend)
MH_MONGO_COLLECTION-mongo-collmessagesMongoDB collection name for message storage
MH_MONGO_DB-mongo-dbmailhogMongoDB database name for message storage
MH_MONGO_URI-mongo-uri127.0.0.1:27017MongoDB host and port
MH_SMTP_BIND_ADDR-smtp-bind-addr0.0.0.0:25Interface and port for SMTP server to bind to
MH_STORAGE-storagememorySet message storage: memory / mongodb / maildir
MH_OUTGOING_SMTP-outgoing-smtpJSON file defining outgoing SMTP servers
MH_UI_WEB_PATH-ui-web-pathWebPath under which the ui is served (without leading or trailing slahes), e.g. 'mailhog'

⁠Tags

TagSize
latest, 1.0
1.0

Tag summary

Content type

Image

Digest

Size

7.8 MB

Last updated

over 6 years ago

docker pull webuni/mailhog