authelia/internal/suites/example/compose/smtp/docker-compose.yml
2020-02-09 18:04:27 +01:00

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