MailHog

mailhog/standalone

SMTP testing server with web UI

Deploys a MailHog email testing server into a local Kind cluster with host access on port 30825 (web UI) and 31025 (SMTP). All received emails are displayed in the web UI and stored in memory.

Install gck#

go install github.com/gravitee-io-labs/gck@latest

For other installation methods, see Installation .

Usage#

Create#

gck create --from mailhog/standalone

Cleanup#

gck delete

Quick Start#

Open the MailHog web UI from your host:

open http://localhost:30825

Configure your application to send emails to mailhog:1025 (in-cluster) or localhost:31025 (from the host).

Storage is in-memory, so captured mail is lost when the pod restarts.

Endpoints

Services this context exposes on your machine after gck create, including the ones it inherits from the contexts it composes. Rows marked with a flag only exist when you pass it.

ServiceURLNotesFrom
MailHog Web UIhttp://localhost:30825in-memory storagemailhog/standalone
MailHog SMTPlocalhost:31025mailhog/standalone

Variables

Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.

VariableDefaultOriginDescription
clusterNamemailhog-standalonemailhog/standaloneName of the Kind cluster
imageRepositorymailhog/mailhogmailhog/standaloneMailHog Docker image repository
imageTaglatestmailhog/standaloneMailHog Docker image tag