Self-host LibreSpeed with Levelrail

Verified

A lightweight, self-hosted internet speed test with no ads, tracking, or Flash required.

  • AuthorlibrespeedVerified by Levelrail
  • LicenceLGPL-3.0-only
  • Memory128 MiB
  • Archarm64
  • Services1

How to self-host LibreSpeed

  1. Pull the images

    One image is pulled on your server.

    Show images
    • ghcr.io/librespeed/speedtest:6.3.0
  2. Create the app

    One service starts in a single Compose app, on port 82.

  3. Fill in the secrets

    3 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

LibreSpeed requirements

Memory
About 128 MiB
Architectures
amd64 image published, arm64 tested
Ports
82
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
LGPL-3.0-only, copyleft license
  • Verified. Verified on arm64 with image tag 6.3.0. Our CI ran this exact image version and it answered on its health path. Evidence
  • Host ports. It publishes port 82 on the host, so open them in the VPS firewall only if you want that.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then LibreSpeed. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the LibreSpeed docs page.

Deploy LibreSpeed your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy LibreSpeed from the CLI

levelrail-cli templates deploy librespeed --name my-librespeed

Deploy LibreSpeed with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/librespeed/deploy

LibreSpeed configuration

LibreSpeed services

ServiceImagePortsVolumes
librespeed ghcr.io/librespeed/speedtest:6.3.0 82 none

LibreSpeed environment variables

VariableServiceValue
MODE librespeed Preset by the template
TELEMETRY librespeed Preset by the template
WEBPORT librespeed Preset by the template

Ports and volumes

Ports
82
Volumes
none

LibreSpeed FAQ

How much memory does LibreSpeed need?

The catalog lists about 128 MiB of memory for LibreSpeed.

Does LibreSpeed run on arm64?

For LibreSpeed, arm64 is tested; amd64 is image published.

What licence is LibreSpeed under?

LibreSpeed is licensed under LGPL-3.0-only, which is copyleft, so changes you distribute must be shared under the same terms.

Does LibreSpeed need configuration before it starts?

No. The template fills in its own defaults.

Which ports does LibreSpeed use?

LibreSpeed listens on port 82 inside the stack.

Can I deploy LibreSpeed on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id librespeed for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/librespeed/speedtest:6.3.0 is what you deploy there.

levelrail-cli templates deploy librespeed --name my-librespeed