mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
a02fb1438e
* Update Traefik 1.x to v1.7.20 for integration tests * Add suite for Traefik 2.x * Refactor Traefik2 suite to utilise Docker labels * Move Traefik2 middleware definition to a file based provider * Expose Traefik2 dashboard The API/Dashboard can be reached at https://traefik.example.com:8080/ * Move Traefik frontend/backend definitions to Docker labels * Move Traefik2 router/service definitions to Docker labels * Normalise all Traefik configuration via labels and commands When the the middleware issue with Traefik 2.x (#476) is resolved this means all Traefik related configuration can be self-contained within the respective docker-compose.yml files. * Define ports for Authelia frontend/backend services * Adjust Traefik2 suite to new dev workflow * Normalise all Traefik2 middlewares via labels * Fix typo in middleware and comment labels specifying Traefik version
15 lines
455 B
YAML
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 |