1. Order and point DNS. Order Starter with Debian 13 from the deploy link. If you will reach the dashboard under a public name, create a record such as speed.example.com for the VPS's IPv4 address.
2. Install Docker from Docker's own repository, which supports Debian 13 (trixie). The docker.io package in Debian's archive runs behind it.
bash
apt update && apt install -y ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
cat > /etc/apt/sources.list.d/docker.sources <<'EOF'
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: trixie
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF
apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin3. Create a user, a key and the Compose file. Without a valid APP_KEY the application stops with an encryption error, and it uses that key for sessions and stored secrets such as notification credentials, so keep a copy somewhere other than this server.
bash
useradd --system --user-group --no-create-home speedtest
mkdir -p /opt/speedtest-tracker/config
chown speedtest:speedtest /opt/speedtest-tracker/config
id speedtest # uid and gid go into PUID and PGID
echo "base64:$(openssl rand -base64 32)" # the value for APP_KEYyaml
# /opt/speedtest-tracker/compose.yaml
services:
speedtest-tracker:
image: lscr.io/linuxserver/speedtest-tracker:v1.15.0-ls170
container_name: speedtest-tracker
restart: unless-stopped
ports:
- "127.0.0.1:8080:80"
environment:
- PUID=999 # from `id speedtest`
- PGID=999
- APP_KEY=base64:... # from the openssl line
- APP_URL=https://speed.example.com
- ASSET_URL=https://speed.example.com
- DB_CONNECTION=sqlite
- ADMIN_EMAIL=you@example.com
- ADMIN_PASSWORD=a-long-passphrase-you-will-change
- DISPLAY_TIMEZONE=Europe/Zurich
- SPEEDTEST_SCHEDULE=17 * * * *
- SPEEDTEST_SERVERS= # filled in at step 4
- PRUNE_RESULTS_OLDER_THAN=400
volumes:
- ./config:/configTwo lines in that file are there on purpose. The port is published on the loopback address only, because Docker's own iptables rules for published ports bypass ufw and firewalld: a plain 8080:80 would put the login page on the internet whatever your firewall says. And ADMIN_EMAIL with ADMIN_PASSWORD replaces the default account, otherwise admin@example.com with the password password. Both act only on the first start, so remove the password line once you have logged in and changed it.
4. Start it and choose the test servers.
bash
cd /opt/speedtest-tracker && docker compose up -d
docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/speedtest-tracker:v1.15.0-ls170 list-serversLeft alone, the Ookla CLI may pick a different server from one run to the next, and your history then compares unlike things. Put two or three Swiss server IDs from that list into SPEEDTEST_SERVERS and run docker compose up -d again; the application picks one of them at random for each test. One server gives the cleanest series, but the day its operator retires it, every test fails until you notice.
5. Decide who can reach it. For a dashboard you open once a week, an SSH tunnel is enough and nothing listens publicly: keep the loopback binding, set APP_URL and ASSET_URL to http://localhost:8080, and run ssh -L 8080:127.0.0.1:8080 root@your-vps when you want to look. If you need a real URL, for links in alert mails or for colleagues, put Caddy from Debian's repository in front of it; it obtains a Let's Encrypt certificate by itself.
example
# /etc/caddy/Caddyfile
speed.example.com {
reverse_proxy 127.0.0.1:8080
}Leave PUBLIC_DASHBOARD at its default of false. When you create API tokens under /admin/api-tokens, give a read-only integration the Read Results ability and nothing more: a token that may run speed tests can also spend your transfer allowance.
6. Back it up. The config directory and the Compose file are the whole state, and the Compose file matters because it holds APP_KEY. Stop the container for the seconds the copy takes and send the archive to an object storage bucket with restic, which encrypts its repositories by default.
bash
cd /opt/speedtest-tracker && docker compose stop
tar -czf /root/speedtest-$(date +%F).tgz compose.yaml config
docker compose start
restic -r s3:https://<endpoint>/<bucket> backup /root/speedtest-$(date +%F).tgz7. Watch it from somewhere else. /api/healthcheck answers with HTTP 200 and a short message while the application runs, which makes a good keyword check for an Uptime Kuma instance hosted outside ALP1. A tracker that stopped testing in March looks, in July, exactly like a network with nothing to report.
If what you want is your home line
Run Speedtest Tracker at home, on a mini PC or a NAS (the documentation covers Synology, QNAP and Unraid), and use the VPS for the history. Either an InfluxDB v2 on the VPS receives every result over a WireGuard tunnel, or a Prometheus on the VPS scrapes the home instance's /prometheus endpoint, which you can restrict to the tunnel address. The history then survives the home box dying, the charts are reachable from anywhere, and the home tests never touch the VPS's transfer. If the question is really how fast the path between your home and the VPS is, a speed test against Ookla is the wrong instrument; iperf3 between the two ends answers it directly.