librespeed/docker-compose-traefik.yml aktualisiert

This commit is contained in:
2026-01-02 22:52:47 +00:00
parent 066bb1ad3a
commit 295fc8de27

View File

@@ -5,9 +5,9 @@ services:
restart: unless-stopped restart: unless-stopped
environment: environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=${TZ:-Europe/Berlin} - TZ=${TZ:-Europe/Berlin}
- ServerName=${SERVER_NAME:-librespeed}
- TITLE=${TITLE:-LibreSpeed}
# LibreSpeed Optionen # LibreSpeed Optionen
- PASSWORD=${LIBRESPEED_PASSWORD:-} - PASSWORD=${LIBRESPEED_PASSWORD:-}
@@ -21,14 +21,14 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
# HTTPS Router # HTTPS Router
- "traefik.http.routers.librespeed.rule=Host(`${LIBRESPEED_HOSTNAME}`)" - "traefik.http.routers.librespeed.rule=Host(`${SERVER_NAME}`)"
- "traefik.http.routers.librespeed.entrypoints=websecure" - "traefik.http.routers.librespeed.entrypoints=websecure"
- "traefik.http.routers.librespeed.tls=true" - "traefik.http.routers.librespeed.tls=true"
- "traefik.http.routers.librespeed.tls.certresolver=le" - "traefik.http.routers.librespeed.tls.certresolver=le"
- "traefik.http.routers.librespeed.service=librespeed" - "traefik.http.routers.librespeed.service=librespeed"
# HTTP → HTTPS Redirect # HTTP → HTTPS Redirect
- "traefik.http.routers.librespeed-insecure.rule=Host(`${LIBRESPEED_HOSTNAME}`)" - "traefik.http.routers.librespeed-insecure.rule=Host(`${SERVER_NAME}`)"
- "traefik.http.routers.librespeed-insecure.entrypoints=web" - "traefik.http.routers.librespeed-insecure.entrypoints=web"
- "traefik.http.routers.librespeed-insecure.middlewares=librespeed-redirect" - "traefik.http.routers.librespeed-insecure.middlewares=librespeed-redirect"
- "traefik.http.middlewares.librespeed-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.librespeed-redirect.redirectscheme.scheme=https"