homeserver/docker-compose/whoami/docker-compose.yml.j2
mg caf87e2c3f traefik: nforwardauth (#518)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #518
2023-05-12 08:18:45 +02:00

21 lines
612 B
Django/Jinja

version: '3'
services:
# here it works as expected
whoami:
image: traefik/whoami
container_name: whoami
restart: always
networks:
- traefik
labels:
traefik.http.routers.whoami.rule: Host(`whoami.mgrote.net`)
traefik.http.routers.whoami.middlewares: nforwardauth
traefik.enable: true
traefik.http.routers.whoami.tls: true
traefik.http.routers.whoami.tls.certresolver: resolver_letsencrypt
traefik.http.routers.whoami.entrypoints: entry_https
traefik.http.services.whoami.loadbalancer.server.port: 80
networks:
traefik:
external: true