mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-24 14:31:52 +01:00
6f3f8ca38d5b3793f31f47174e8b4eb3f478d062
Now only chmods storage and bootstrap to speed up building the image
Speedtest Tracker
This program runs a speedtest check every hour and graphs the results. The back-end is written in Laravel and the front-end uses React. It uses the speedtest-cli package to get the data and uses Chart.js to plot the results.
Features
- Automatically run a speedtest every hour
- Graph of previous speedtests going back x days
- Backup/restore data in JSON format
Usage
docker create \
--name=speedtest \
-p 8765:80 \
-v /path/to/data:/config \
--restart unless-stopped \
henrywhitaker3/speedtest-tracker
Getting the Image
To get the base image, you have 2 options:
- Use the pre-built image on dockerhub
- Build the image yourself
Pre-built Image
Run docker pull henrywhitaker3/speedtest-tracker
Dockerfile
Clone the required files from the github repo here making sure to use the docker branch of the repo.
Build the image from the docker file by running (within the cloned git repo):
docker build . -f Dockerfile --tag=henrywhitaker3/speedtest-tracker:<tag>
Languages
JavaScript
89.7%
PHP
5.5%
CSS
4%
HTML
0.8%
