mailcatcher built on Instructure's base images
50K+
A docker container appliance wrapping MailCatcher.
This runs a SMTP server (on port 1025) that accepts any mail you send it, and a web server (on port 8080) for browsing those emails in a webmail context.
This is particularly useful for configuring a default development SMTP server in your application that works out of the box.
An entry in your docker-compose.yml file might look like this:
mailcatcher:
image: instructure/mailcatcher
environment:
VIRTUAL_HOST: mail.example.docker
VIRTUAL_PORT: 8080
Next, configure your development SMTP server settings (no auth required):
In a Rails application, your config/environments/development.rb would be:
config.action_mailer.smtp_settings = {
address: 'mailcatcher', port: 1025
}
After spinning up the container, you can then open up your browser to:
This inbox will automatically refresh with incoming mail.
Content type
Image
Digest
sha256:c6cece388…
Size
286.6 MB
Last updated
8 months ago
docker pull instructure/mailcatcher