Skip to content

turo/docker-mailcatcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mailcatcher docker image

Here is an unofficial Dockerfile for mailcatcher.

It is a very small image (~35 MB uncompressed) available on docker hub based on Alpine Linux and using the last available release from the official Github repo of mailcatcher.

Changelog

  • 2019-04-12 Upgrading Mailcatcher from 0.7.0 to 0.7.1
  • 2019-04-12 Upgrading Mailcatcher from 0.6.5 to 0.7.0 and Alpine Linux from 3.8 to 3.9
  • 2018-12-28 Upgrading Alpine Linux from 3.7 to 3.8
  • 2018-01-02 Upgrading Alpine Linux from 3.6 to 3.7
  • 2017-05-30 Upgrading Alpine Linux from 3.4 to 3.6
  • 2016-10-07 Adding ruby-json
  • 2016-09-08 Upgrading mailcatcher from 0.6.4 to 0.6.5
  • 2016-06-10 Upgrading Alpine Linux from 3.3 to 3.4
  • 2016-04-06 Adding libstdc++
  • 2016-03-30 Replacing Debian by Alpine Linux
  • ...

Usage

Get it:

docker pull tophfr/mailcatcher

Run it:

docker run -d -p 1080:80 --name smtp tophfr/mailcatcher

Link it:

docker run -d --link smtp -e SMTP_HOST=smtp --name php56 tophfr/php:5.6

Then you can send emails from your app and check out the web interface: http://<your docker host>:1080/.

If you want to send emails from your host you can map the 25 port:

docker run -d -p 1080:80 -p 1025:25 --name mail tophfr/mailcatcher

then send yout emails through your docker host on port 1025 (or any port you want)

Build

Just clone this repo and run:

docker build -t tophfr/mailcatcher .

or

docker-compose build

About

unofficial Dockerfile for mailcatcher.me

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%