Home Self Hosted Speedtest.net
Post
Cancel

Self Hosted Speedtest.net

Have you ever wanted the ability to know the exact speed from where ever you are to your self hosted apps? Meet LibreSpeed, a selfhosted speedtest webapp. Image1

Install Docker

1
sudo apt install docker.io docker-compose-v2

Create a docker-compose.yml file and add the below content

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  speedtest:
    container_name: speedtest
    image: ghcr.io/librespeed/speedtest:latest
    restart: always
    environment:
      MODE: standalone
      TITLE: "SpeedTest"
      TELEMETRY: "true"
      #ENABLE_ID_OBFUSCATION: "false"
      #REDACT_IP_ADDRESSES: "false"
      #PASSWORD: "Password"
      #EMAIL: "Email"
      #DISABLE_IPINFO: "false"
      #IPINFO_APIKEY: "your api key"
      #DISTANCE: "km"
      #WEBPORT: 8080
    ports:
      - "81:8080" # webport mapping (host:container)

Start the Docker Container

1
sudo docker compose up -d

Enjoy

This post is licensed under CC BY 4.0 by the author.