add TLS for traefik

This commit is contained in:
Pim Kunis 2023-01-02 16:54:05 +01:00
parent a02f3ff655
commit a90dd11610

View file

@ -14,4 +14,7 @@ services:
networks:
- traefik
labels:
- traefik.http.routers.pizzeria.entrypoints=websecure
- traefik.http.routers.pizzeria.rule=Host(`pizzapim.nl`)
- traefik.http.routers.pizzeria.tls=true
- traefik.http.routers.pizzeria.tls.certresolver=pizzapim