Skip to content

Commit e4ca8b3

Browse files
authored
chore(containers): 🐳 switch Speedtest Tracker image to lscr.io/linuxserver registry (GhostWriters#2124)
* Initial changes * Further changes * added migration refs * Added URL * fixed typo in migration * description change * Added Optional environment variables * Added extra Migraton variables * typo * Fix Typo * Remove Arm Tag
1 parent 46ddc1f commit e4ca8b3

6 files changed

Lines changed: 61 additions & 34 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
services:
22
speedtest<__instance>:
3-
image: henrywhitaker3/speedtest-tracker:${SPEEDTEST<__INSTANCE>__TAG?}-arm
3+
image: lscr.io/linuxserver/speedtest-tracker:${SPEEDTEST<__INSTANCE>__TAG?}
Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
BASE_PATH='/'
2-
OOKLA_EULA_GDPR='true'
1+
### https://docs.linuxserver.io/images/docker-speedtest-tracker/#usage
2+
3+
APP_KEY=''
4+
APP_URL=''
5+
DB_CONNECTION=sqlite
6+
SPEEDTEST_SCHEDULE='0 */6 * * *'
7+
SPEEDTEST_SERVERS=''
8+
9+
# Optional
10+
DB_HOST=''
11+
DB_PORT=''
12+
DB_DATABASE=''
13+
DB_USERNAME=''
14+
DB_PASSWORD=''
15+
DISPLAY_TIMEZONE=${TZ?}
16+
PRUNE_RESULTS_OLDER_THAN=0

compose/.apps/speedtest/speedtest.labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ services:
22
speedtest<__instance>:
33
labels:
44
com.dockstarter.appinfo.deprecated: "false"
5-
com.dockstarter.appinfo.description: "This program runs a speedtest check every hour and graphs the results."
5+
com.dockstarter.appinfo.description: "Monitors the performance and uptime of your internet connection."
66
com.dockstarter.appinfo.nicename: "speedtest<__Instance>"

compose/.apps/speedtest/speedtest.migrate

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,15 @@ SPEEDTEST<__INSTANCE>__TAG SPEEDTEST<__INSTANCE>_TAG
1010
###
1111
### SPEEDTEST<__INSTANCE> - speedtest<__instance>.env:
1212
###
13-
speedtest<__instance>:BASE_PATH SPEEDTEST<__INSTANCE>_BASE_PATH|SPEEDTEST<__INSTANCE>_ENVIRONMENT_BASE_PATH
14-
speedtest<__instance>:OOKLA_EULA_GDPR SPEEDTEST<__INSTANCE>_OOKLA_EULA_GDPR|SPEEDTEST<__INSTANCE>_ENVIRONMENT_OOKLA_EULA_GDPR
13+
speedtest<__instance>:APP_KEY SPEEDTEST<__INSTANCE>_APP_KEY|SPEEDTEST<__INSTANCE>_ENVIRONMENT_APP_KEY
14+
speedtest<__instance>:APP_URL SPEEDTEST<__INSTANCE>_APP_URL|SPEEDTEST<__INSTANCE>_ENVIRONMENT_APP_URL
15+
speedtest<__instance>:DB_CONNECTION SPEEDTEST<__INSTANCE>_DB_CONNECTION|SPEEDTEST<__INSTANCE>_ENVIRONMENT_DB_CONNECTION
16+
speedtest<__instance>:DB_HOST SPEEDTEST<__INSTANCE>_DB_HOST|SPEEDTEST<__INSTANCE>_ENVIRONMENT_DB_HOST
17+
speedtest<__instance>:DB_PORT SPEEDTEST<__INSTANCE>_DB_PORT|SPEEDTEST<__INSTANCE>_ENVIRONMENT_DB_PORT
18+
speedtest<__instance>:DB_DATABASE SPEEDTEST<__INSTANCE>_DB_DATABASE|SPEEDTEST<__INSTANCE>_ENVIRONMENT_DB_DATABASE
19+
speedtest<__instance>:DB_USERNAME SPEEDTEST<__INSTANCE>_DB_USERNAME|SPEEDTEST<__INSTANCE>_ENVIRONMENT_DB_USERNAME
20+
speedtest<__instance>:DB_PASSWORD SPEEDTEST<__INSTANCE>_DB_PASSWORD|SPEEDTEST<__INSTANCE>_ENVIRONMENT_DB_PASSWORD
21+
speedtest<__instance>:DISPLAY_TIMEZONE SPEEDTEST<__INSTANCE>_DISPLAY_TIMEZONE|SPEEDTEST<__INSTANCE>_ENVIRONMENT_DISPLAY_TIMEZONE
22+
speedtest<__instance>:PRUNE_RESULTS_OLDER_THAN SPEEDTEST<__INSTANCE>_PRUNE_RESULTS_OLDER_THAN|SPEEDTEST<__INSTANCE>_ENVIRONMENT_PRUNE_RESULTS_OLDER_THAN
23+
speedtest<__instance>:SPEEDTEST_SCHEDULE SPEEDTEST<__INSTANCE>_SPEEDTEST_SCHEDULE|SPEEDTEST<__INSTANCE>_ENVIRONMENT_SPEEDTEST_SCHEDULE
24+
speedtest<__instance>:SPEEDTEST_SERVERS SPEEDTEST<__INSTANCE>_SPEEDTEST_SERVERS|SPEEDTEST<__INSTANCE>_ENVIRONMENT_SPEEDTEST_SERVERS
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
services:
22
speedtest<__instance>:
3-
image: henrywhitaker3/speedtest-tracker:${SPEEDTEST<__INSTANCE>__TAG?}
3+
image: lscr.io/linuxserver/speedtest-tracker:${SPEEDTEST<__INSTANCE>__TAG?}

docs/apps/speedtest.md

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,46 @@
11
# Speedtest
22

3-
[![Docker Pulls](https://img.shields.io/docker/pulls/henrywhitaker3/speedtest-tracker?style=flat-square&color=607D8B&label=docker%20pulls&logo=docker)](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker)
4-
[![GitHub Stars](https://img.shields.io/github/stars/henrywhitaker3/Speedtest-Tracker?style=flat-square&color=607D8B&label=github%20stars&logo=github)](https://github.com/henrywhitaker3/Speedtest-Tracker)
3+
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/speedtest-tracker?style=flat-square&color=607D8B&label=docker%20pulls&logo=docker)](https://hub.docker.com/r/linuxserver/speedtest-tracker)
4+
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-speedtest-tracker?style=flat-square&color=607D8B&label=github%20stars&logo=github)](https://github.com/linuxserver/docker-speedtest-tracker)
55
[![Compose Templates](https://img.shields.io/static/v1?style=flat-square&color=607D8B&label=compose&message=templates)](https://github.com/GhostWriters/DockSTARTer/tree/main/compose/.apps/speedtest)
66

77
## Description
88

9-
[Speedtest Tracker](https://github.com/henrywhitaker3/Speedtest-Tracker) runs a
10-
speedtest check every hour and graphs the results. The back-end is written in
11-
`Laravel` and the front-end uses `React`. It uses the Ookla's Speedtest cli
12-
package to get the data and uses `Chart.js` to plot the results.
9+
[Speedtest Tracker](https://github.com/linuxserver/docker-speedtest-tracker) is a self-hosted application that monitors the performance and uptime of your internet connection.
1310

14-
This program can also be used a home page item in
15-
[Organizr](https://organizr.app).
11+
### Features
1612

17-
A demo is available [here](https://speedtest.henrywhitaker.com).
18-
19-
_Disclaimer: You will need to accept Ookla's EULA and privacy agreements in order to use this container._
13+
- **Automated Tests**: Schedule regular speed tests to monitor your internet connection's performance over time.
14+
- **Detailed Metrics**: Capture download and upload speeds, ping, packet loss and more.
15+
- **Historical Data**: View historical data and trends to identify patterns and issues with your internet connection.
16+
- **Notifications**: Receive notifications when your internet performance drops below a certain threshold.
2017

2118
## Install/Setup
2219

23-
This application does not have any specific setup instructions documented. If
24-
you need assistance setting up this application please visit our
25-
[support page](https://dockstarter.com/basics/support/).
20+
### Generate an Application Key
21+
22+
Run the command below to generate a key, the key is required for encryption. Copy this key including the base64: prefix and paste it as your `APP_KEY` value in `env_files/speedtest.env`.
23+
24+
```bash
25+
echo -n 'base64:'; openssl rand -base64 32;
26+
```
27+
28+
### DB Type
29+
30+
`SQLite` is fine for most installs but you can also use more traditional relational databases like `MariaDB`, `MySQL` and `Postgres`. Update your `DB_CONNECTION` value in `env_files/speedtest.env`.
31+
32+
### APP URL
2633

27-
### Base Path
34+
The IP:port or URL your application will be accessed on (ie. http://192.168.1.1:6875 or https://speedtest.mydomain.com). Update your `APP_URL` value in `env_files/speedtest.env`.
2835

29-
You can set a base path for this application if you want to host it behind a
30-
reverse proxy. By default it binds to `/`, but you can change the variable
31-
called `BASE_PATH` in your `env_files/speedtestr.env` file to whatever you want and run
32-
`ds -c up speedtest` afterwards.
36+
### Speedtest Servers
3337

34-
As usual, we **strongly discourage** having this application be public facing
35-
without some sort of protection in front of it, such as
36-
[Organizr's Server Auth](https://docs.organizr.app/books/setup-features/page/serverauth).
38+
A comma-separated list of server IDs to test against. Run the following command to get a list of nearby servers then update your `SPEEDTEST_SERVERS` value in `env_files/speedtest.env`.
3739

38-
### Notifications
40+
```bash
41+
docker run -it --rm --entrypoint /bin/bash lscr.io/linuxserver/speedtest-tracker:latest list-servers
42+
```
3943

40-
This application supports notifications to some of the most popular services
41-
such as Telegram and Discord. Both of these services can be configured either
42-
using the application's Web GUI or environment variables through an
43-
[override](https://dockstarter.com/overrides/introduction).
44+
If you need further assistance setting up this application, please visit the official
45+
[GitHub repository](https://github.com/alexjustesen/speedtest-tracker), [Hub Docker](https://hub.docker.com/r/linuxserver/speedtest-tracker) or our
46+
[support page](https://dockstarter.com/basics/support).

0 commit comments

Comments
 (0)