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:
  # Mails ——————————————————————————————————————————————————————————————————————

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

 More on Stackoverflow


» Comments

Privacy-focused with Commento. (Comment system added on 2019-10-17: be the first! 🥇)