Proxies

Installation guides for when using Reverse Proxies

Traefik

Traefik can be used as a Reverse Proxy in front of Speedtest Tracker when you want to expose the Dashboard publicly with a trusted certificate. You will need at add the APP_URL envoirment and needed labels to the docker compose have treafik apply the certificate and routing.

A full list of released versions can be found here

Docker-Compose:

services:
    speedtest-tracker:
        container_name: speedtest-tracker
        environment:
            - PUID=1000
            - PGID=1000
            - DB_CONNECTION=sqlite
            - APP_KEY=
            - SPEEDTEST_SCHEDULE=
            - SPEEDTEST_SERVERS=
            - APP_URL=speedtest.yourdomain.com
        volumes:
            - /path/to/data:/config
            - /path/to-custom-ssl-keys:/config/keys
        labels:
            - "traefik.enable=true"
            - "traefik.http.routers.speedtest-tracker.rule=Host(`speedtest.yourdomain.com`)"
            - "traefik.http.routers.speedtest-tracker.entrypoints=websecure"
            - "traefik.http.routers.speedtest-tracker.tls=true"
            - "traefik.http.routers.speedtest-tracker.tls.certresolver=yourresolver"
            - "traefik.http.services.speedtest-tracker.loadbalancer.server.port=80"
        image: lscr.io/linuxserver/speedtest-tracker:0.20.6
        restart: unless-stopped
Added compose partDescription

APP_URL

URL you want to access the WebGui on.

traefik.enable=true

Explicitly tell Traefik to expose this container

traefik.http.routers.speedtest-tracker.rule=Host(`speedtest.yourdomain.com`)

The domain the service will respond to

traefik.http.routers.speedtest-tracker.entrypoints=websecure

Allow request only from the predefined entry point

traefik.http.routers.speedtest-tracker.tls=true

When a TLS section is specified, it instructs Traefik that the current router is dedicated to HTTPS requests only

traefik.http.routers.speedtest-tracker.tls.certresolver=yourresolver

Explicitly tell Traefik which Certificate provider to use matching your Traefik configuration

traefik.http.services.speedtest-tracker.loadbalancer.server.port=80

Explicitly tell Traefik port to use to connect to the container

Last updated