authelia/example/compose/smtp/docker-compose.yml

15 lines
455 B
YAML

version: '3'
services:
smtp:
image: schickling/mailcatcher
ports:
- '1025:1025'
labels:
- 'traefik.frontend.rule=Host:mail.example.com'
- 'traefik.port=1080'
- '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