Skip to content

Simple docker image that creates a /metrics route to run a speedtest on demand

Notifications You must be signed in to change notification settings

buschco/speedtest-prom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

speedtest-prom

Docker Cloud Build Status

The internet-monitoring stack uses an outdated docker image for testing the internet speed.

Because of the lack of configuration, no use of the official Ookla speedtest cli and no arm build for the raspberry pi, this image was created.

usage

services:
  speedtest:
    expose:
      - 9696
    ports:
      - 9696:9696
    image: buschco/speedtest-prom
    restart: always
    networks:
      - back-tier

configuration

Currently you can only change the serverid like so:

environment:
  - SERVER_ID=8099

To get the serverId run speedtest -L.

build

idk how if there is an easier way to build the image for arm. I got it by running this command

docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t buschco/speedtest-prom --push .

It works like a charm. But all the tools also have an arm build. Maybe I am just missing some configuration here 🤷

About

Simple docker image that creates a /metrics route to run a speedtest on demand

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published