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

19 lines
494 B
YAML

---
version: '3'
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
...