This commit is contained in:
godd0t 2023-05-10 19:58:29 +02:00
parent 0e05620d90
commit 35064ba355

View File

@ -96,12 +96,14 @@ services:
- "--api.dashboard=true" - "--api.dashboard=true"
- "--certificatesresolvers.myResolver.acme.email=${LETSENCRYPT_EMAIL}" - "--certificatesresolvers.myResolver.acme.email=${LETSENCRYPT_EMAIL}"
- "--certificatesresolvers.myResolver.acme.storage=/myResolver/acme.json" - "--certificatesresolvers.myResolver.acme.storage=/myResolver/acme.json"
- "--certificatesresolvers.myResolver.acme.httpchallenge=true" - "--certificatesresolvers.myresolver.acme.dnschallenge=true"
- "--certificatesresolvers.myResolver.acme.httpchallenge.entrypoint=web" - "--certificatesresolvers.myresolver.acme.dnschallenge.provider=ovh"
- "--entrypoints.web.http.redirections.entryPoint.to=websecure" - "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https" - "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--log.level=DEBUG" - "--log.level=DEBUG"
- "--log.filePath=/var/log/traefik.log" - "--accesslog=true"
- "--tracing=true"
- "--api=true"
labels: labels:
- "traefik.http.routers.dashboard.rule=Host(`${TRAEFIK_DOMAIN}`) && (PathPrefix(`/`)" - "traefik.http.routers.dashboard.rule=Host(`${TRAEFIK_DOMAIN}`) && (PathPrefix(`/`)"
- "traefik.http.routers.dashboard.tls=true" - "traefik.http.routers.dashboard.tls=true"