This commit is contained in:
Kekskurse 2021-10-21 09:50:08 +02:00
parent 3e221cfe3b
commit 9c2f3e2d1e
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -9,8 +9,14 @@ services:
image: traefik:v2.5 image: traefik:v2.5
# Enables the web UI and tells Traefik to listen to docker # Enables the web UI and tells Traefik to listen to docker
command: command:
- "--log.level=DEBUG"
- "--api.insecure=true" - "--api.insecure=true"
- "--providers.docker" - "--providers.docker"
- "--entryPoints.web.address=:80"
- "--entryPoints.websecure.address=:443"
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--entrypoints.web.http.redirections.entrypoint.permanent=true"
- "--certificatesResolvers.le.acme.email=ssl@kekskurse.de" - "--certificatesResolvers.le.acme.email=ssl@kekskurse.de"
- "--certificatesResolvers.le.acme.storage=/letsencrypt/acme.json" - "--certificatesResolvers.le.acme.storage=/letsencrypt/acme.json"
- "--certificatesResolvers.le.acme.tlsChallenge=false" - "--certificatesResolvers.le.acme.tlsChallenge=false"