๐Ÿ‡
Speedtest Tracker
  • Introduction
  • Features
  • Changelog
  • ๐Ÿš€Getting Started
    • Installation
      • Using Docker Compose
      • Using Docker
      • Using Kubernetes
      • Using QNAP
      • Using Synology
      • Using Unraid
    • Environment Variables
    • Database Drivers
  • ๐Ÿ†˜Help
    • Error Messages
    • Frequently Asked Questions
  • ๐Ÿ”‘Security
    • Authentication
    • Authorization
    • Encryption
  • โš™๏ธSettings
    • Data Integrations
      • InfluxDB v2
    • Notifications
      • Database
      • Mail
      • Telegram
  • ๐Ÿ‘€Other
    • Speedtest Process
    • Proxies
      • Cloudflare Tunnel (Zero Trust)
      • Traefik
      • Tailscale
    • Caching
    • Commands
    • Data Dictionary
    • Embed Dashboard
    • Health Check
    • Community Projects
  • ๐Ÿ–ฅ๏ธAPI
    • v1
    • Latest Result (deprecated)
  • ๐ŸคนContributing
    • Development Environment
  • ๐Ÿ”—More
    • Source Code
    • Releases
    • Update the Docs
    • About Me
    • Donate
Powered by GitBook
On this page
  • Cloudflare Tunnel Configuration
  • Docker Configuration
Edit on GitHub
  1. Other
  2. Proxies

Cloudflare Tunnel (Zero Trust)

PreviousProxiesNextTraefik

Last updated 3 months ago

can be used as a Reverse Proxy in front of Speedtest Tracker when you want to expose the Dashboard publicly without exposing your IP Address and with a trusted certificate,You will need at add the APP_URL envoirment.

Cloudflare Tunnel Configuration

  • Go to the Networks -> Tunnels page.

  • For the tunnel you want to add the Speedtest Tracker to. Click on Edit

  • Go to Public Hostname

  • Click on Add a public hostname

  • Fill in the fields the following field

    • Subdomain: The subdomain you want to access the Speedtest Tracker on.

    • Domain: The domain you want to access the Speedtest Tracker on.

    • Type: Connection type to the Speedtest Tracker (http/https)

      • When choosing HTTPS you will need to disable the TLS verification under Additional application settings -> TLS -> No TLS Verify

    • URL: The URL to access the Speedtest Tracker. This can be either the IP Address:Port or the container_name:port.

When using the container_name Cloudflare Tunnel and Speedtest Tracker need to be on the same Docker network.

Docker Configuration

Docker-Compose:

services:
    speedtest-tracker:
        container_name: speedtest-tracker
        environment:
            - PUID=1000
            - PGID=1000
            - APP_KEY=
            - DB_CONNECTION=sqlite
            - SPEEDTEST_SCHEDULE=
            - SPEEDTEST_SERVERS=
            - PRUNE_RESULTS_OLDER_THAN=
            - CHART_DATETIME_FORMAT= 
            - DATETIME_FORMAT=
            - APP_TIMEZONE=
            - APP_URL=https://speedtest.yourdomain.com # Change this to your domain name
            - ASSET_URL=https://speedtest.yourdomain.com # Change this to your domain name
        volumes:
            - /path/to/data:/config
            - /path/to-custom-ssl-keys:/config/keys
        image: lscr.io/linuxserver/speedtest-tracker:latest
        restart: unless-stopped

Depending on your Cloudflare Tunnel configuration, you need to make sure the Speedtest Tracker and Cloudflare Tunnel are on the same docker network.

Added compose part
Description

APP_URL

URL you want to access the WebGui on.

ASSET_URL

URL used for loading all the needed assets. Need to be the same as the APP_URL.

๐Ÿ‘€
Cloudflare tunnel