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

    image: tophfr/mailcatcher
    container_name: mailcatcher
      - '1080:80'
      - '1025:25'

 More on Stackoverflow  Random snippet

  Work with me!