How to Install a Speed Test Server in OMV5 and Docker

How to Install an Internet Speed Test Server on OMV5

In diy, OpenMediaVault, Tutorials, Video by dbtech

In this post we’ll look at How to Install an Internet Speed Test Server on OMV5.

This is a pretty quick and easy container to setup. Open Portainer and paste this into a new Stack:

version: '2'
services:
  db:
    image: influxdb 
    container_name: influxdb
    networks:
      - default
    volumes:
      - /srv/dev-disk-by-label-Files/Config/SpeedTest:/var/lib/influxdb
    environment:
      - INFLUXDB_ADMIN_USER=admin
      - INFLUXDB_ADMIN_PASSWORD=password
      - INFLUXDB_DB=speedtest
    restart: unless-stopped
  web:
    image: kjake/internet-speedtest-docker:grafana
    container_name: speedweb
    ports:
      - "3000:3000"
    networks:
      - default
    environment:
      - GF_SERVER_ROOT_URL=http://localhost
      - GF_SECURITY_ADMIN_PASSWORD=teste
    restart: unless-stopped
  testing:
    image: kjake/internet-speedtest-docker:speedtest
    container_name: speedtest
    networks:
      - default
    environment:
      - TEST_INTERVAL=300
    restart: unless-stopped
networks:
  default:
    driver: bridge

Original Docker page: https://hub.docker.com/r/kjake/internet-speedtest-docker

There are only a couple of things you’ll need to change. For instance, you’ll need to change this:

volumes:
      - /srv/dev-disk-by-label-Files/Config/SpeedTest:/var/lib/influxdb

Change it to whatever your path is in the first half of that. For instance:

volumes:
      - /path/to/your/config/SpeedTest:/var/lib/influxdb

Also, the TEST_INTERVAL=300 tells the container to run a speed test every 300 seconds (or 5 minutes). You might change that to 3600 to test once per hour instead of every 5 minutes as 5 minute intervals are pretty frequent in my opinion.

Additional Reading

Here are some additional tutorials about OpenMediaVault 5 and Docker.