Skip to content

yappabe/docker-mailhog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yappa Mailhog Docker Image

This adds mailhog, which is accessible on port 8025.

Usage

Add the following to your docker-compose.yml file:

mailhog:
    image: yappabe/mailhog
    environment:
        DNSDOCK_ALIAS: mailhog.website.docker.webfolks.be

Next, add this container to your php and nginx container links.

You can now use mailhog as an smtp server, simply use 'mailhog', or whatever you named this container as host on port 1025. No credentials are needed.

References