---
services:
  smtp:
    image: schickling/mailcatcher
    ports:
      - '1025:1025'
    labels:
      - 'traefik.frontend.rule=Host:mail.example.com'
      - 'traefik.port=1080'
      - 'traefik.enable=true'
      - 'traefik.http.routers.mail.rule=Host(`mail.example.com`)'
      - 'traefik.http.routers.mail.entrypoints=https'
      - 'traefik.http.routers.mail.tls=true'
      - 'traefik.http.services.mail.loadbalancer.server.port=1080'
    networks:
      - authelianet
...
