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.
| Service | URL | Notes | From |
|---|---|---|---|
| MailHog Web UI | http://localhost:30825 | in-memory storage | mailhog/standalone |
| MailHog SMTP | localhost:31025 | mailhog/standalone |
Variables
Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.
| Variable | Default | Origin | Description |
|---|---|---|---|
clusterName | mailhog-standalone | mailhog/standalone | Name of the Kind cluster |
imageRepository | mailhog/mailhog | mailhog/standalone | MailHog Docker image repository |
imageTag | latest | mailhog/standalone | MailHog Docker image tag |