Docker compose file for mailcatcher

Published on 2019-09-24 • Modified on 2019-09-24

This is the docker compose file I am using for mailcatcher. I use this image because it is regularly updated. Be careful, that the internal ports used are different from the other docker images. Here, they are 25 and 80, whereas it's generally 1025 and 1080 in others images. Add a star on Guthub if you are using it! ⭐


version: '3.7'

# docker-compose -f docker-compose.yaml up -d
services:

  # https://hub.docker.com/r/tophfr/mailcatcher
  mailcatcher:
    image: tophfr/mailcatcher
    container_name: mailcatcher
    ports:
      - '1080:80'
      - '1025:25'

 More on Stackoverflow  Random snippet

  Work with me!


Call to action

Did you like this post? You can help me back in several ways: (use the "reply" link on the right to comment or to contact me )

Thank you for reading! And see you soon on Strangebuzz! 😉

COil