Skip to content

Commit 06347f8

Browse files
alexjustesengitbook-bot
authored andcommitted
GITBOOK-39: change request with no subject merged in GitBook
1 parent fc4f06b commit 06347f8

File tree

15 files changed

+234
-122
lines changed

15 files changed

+234
-122
lines changed
192 KB
Loading
81.9 KB
Loading
202 KB
Loading

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ description: >-
66

77
# Introduction
88

9-
10-
119
{% hint style="info" %}
12-
These docs are up-to-date for version: `v0.11.18`
10+
These docs are up-to-date for version: `v0.12.beta.6`
1311
{% endhint %}
1412

13+
<figure><img src=".gitbook/assets/dashboard_screenshot.jpg" alt=""><figcaption></figcaption></figure>
14+
1515
### Introduction
1616

1717
Speedtest Tracker is a self-hosted internet performance tracking application that runs speedtest checks against Ookla's Speedtest service.

SUMMARY.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,21 @@
77

88
## 🚀 Getting Started
99

10-
* [Installation](getting-started/installation.md)
10+
* [Installation](getting-started/installation/README.md)
11+
* [Using Docker or Docker Compose](getting-started/installation/installation.md)
12+
* [Using Synology](getting-started/installation/installation-1.md)
13+
* [Using Unraid](getting-started/installation/installation-2.md)
1114
* [Environment Variables](getting-started/environment-variables.md)
15+
* [Page](getting-started/page.md)
16+
17+
## 🔑 Security
18+
19+
* [Authentication](security/authentication.md)
20+
* [Authorization](security/authorization.md)
1221

1322
## ⚙ Settings
1423

15-
* [Authentication](settings/authentication.md)
16-
* [Data Platforms](settings/data-platforms/README.md)
24+
* [Data Integrations](settings/data-platforms/README.md)
1725
* [InfluxDB2](settings/data-platforms/influxdb2.md)
1826
* [Notifications](settings/notifications/README.md)
1927
* [Database](settings/notifications/database.md)

faqs.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,54 @@ description: A running list of frequently ask questions and their answers.
44

55
# Frequently Asked Questions
66

7+
### Docker
8+
9+
<details>
10+
11+
<summary>I get a warning on container start up that the <code>APP_KEY</code> is missing</summary>
12+
13+
As of `v0.12.0` the app key is generated on start-up and it is **OK to ignore this warning**. To set a persisted key follow the steps below
14+
15+
1. Open the CLI of the Speedtest Docker container
16+
2. Run `php artisan key:generate --show`
17+
3. Add the generated string to your environment variables attached to `APP_KEY=generatedstringgoeshere`
18+
4. Restart the container
19+
20+
</details>
21+
722
### Notifications
823

924
<details>
1025

11-
<summary>Links in emails don't point to the correct url</summary>
26+
<summary>Links in emails don't point to the correct URL</summary>
1227

13-
Make sure `APP_URL` is updated to the correct url as the links in emails are based off this as the base url.
28+
1. Set the correct URL as the `APP_URL` environment variable
29+
2. Restart the container
1430

1531
</details>
1632

33+
### Other
34+
35+
<details>
36+
37+
<summary>I'm getting a <code>500 | SERVER ERROR</code> error</summary>
38+
39+
By default `APP_DEBUG` is set to `false` in production to prevent verbose error outputs. To debug the issue follow the steps below.
40+
41+
1. Set `APP_DEBUG=true` as a environment variable
42+
2. Restart the container
43+
3. Reproduce the error by visiting the page or performing the action that caused the error
44+
4. View the output in the UI or in the logs to help resolve the issue, if you can not resolve it open an issue in the [GitHub](https://github.com/alexjustesen/speedtest-tracker/issues) repository
45+
5. Once the issue is resolved you can remove the `APP_DEBUG` environment variable
46+
47+
</details>
48+
49+
### User
50+
51+
<details>
52+
53+
<summary></summary>
54+
55+
56+
57+
</details>

features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ description: A full list of implemented features and those that are planned.
44

55
# Features
66

7-
<figure><img src="https://github.com/alexjustesen/speedtest-tracker/blob/main/.github/screenshots/dashboard_screenshot.png?raw=true" alt=""><figcaption><p><em>Dashboard</em></p></figcaption></figure>
7+
<figure><img src=".gitbook/assets/dashboard_screenshot.jpg" alt="Dashboard page"><figcaption><p>Dashboard page</p></figcaption></figure>
88

99
<table><thead><tr><th width="563">Features</th><th align="right">Status</th></tr></thead><tbody><tr><td><strong>Install options</strong></td><td align="right"></td></tr><tr><td> Docker images for x86</td><td align="right">Done</td></tr><tr><td> Docker images for arm64</td><td align="right">Done</td></tr><tr><td> unRAID Community App</td><td align="right">Done</td></tr><tr><td> Bare metal</td><td align="right">Planned</td></tr><tr><td></td><td align="right"></td></tr><tr><td><strong>Dashboard</strong></td><td align="right"></td></tr><tr><td> Show the most recent results</td><td align="right">Done</td></tr><tr><td> Pretty graphs</td><td align="right"><a href="https://github.com/alexjustesen/speedtest-tracker/pull/213">Done</a></td></tr><tr><td></td><td align="right"></td></tr><tr><td><strong>Results</strong></td><td align="right"></td></tr><tr><td> History of failed and successful results</td><td align="right">Done</td></tr><tr><td> Filter by <code>scheduled</code> and `successful</td><td align="right"><a href="https://github.com/alexjustesen/speedtest-tracker/pull/318">Done</a></td></tr><tr><td> Export selected results to CSV</td><td align="right"><a href="https://github.com/alexjustesen/speedtest-tracker/pull/370">Done</a></td></tr><tr><td></td><td align="right"></td></tr><tr><td><strong>Speedtest options</strong></td><td align="right"></td></tr><tr><td> Scheduled tests</td><td align="right">Done</td></tr><tr><td> Adhoc test</td><td align="right">Done</td></tr><tr><td> Manually specify a server</td><td align="right"><a href="https://github.com/alexjustesen/speedtest-tracker/pull/216">Done</a></td></tr><tr><td> Manually specify a list of servers</td><td align="right"><a href="https://github.com/alexjustesen/speedtest-tracker/pull/216">Done</a></td></tr><tr><td> Threshold alerts</td><td align="right">Done</td></tr><tr><td></td><td align="right"></td></tr><tr><td><strong>Ping options</strong></td><td align="right"></td></tr><tr><td> Ping a domain or list of domains</td><td align="right">Planned</td></tr><tr><td></td><td align="right"></td></tr><tr><td><strong>Database support</strong></td><td align="right"></td></tr><tr><td> SQLite (default)</td><td align="right">Done</td></tr><tr><td> MariaDB / MySQL</td><td align="right">Done</td></tr><tr><td> Postgresql</td><td align="right">Done</td></tr><tr><td> InfluxDB v1</td><td align="right">Planned</td></tr><tr><td> InfluxDB v2</td><td align="right">Done</td></tr><tr><td> Prometheus</td><td align="right">Planned</td></tr><tr><td></td><td align="right"></td></tr><tr><td><strong>Notification Channels</strong></td><td align="right"></td></tr><tr><td> In-app</td><td align="right"><a href="https://github.com/alexjustesen/speedtest-tracker/releases/tag/v0.1.0">Done</a></td></tr><tr><td> Mail</td><td align="right"><a href="https://github.com/alexjustesen/speedtest-tracker/releases/tag/v0.4.0">Done</a></td></tr><tr><td> Discord</td><td align="right">Planned</td></tr><tr><td> Gotify</td><td align="right">Planned</td></tr><tr><td> Slack</td><td align="right">Planned</td></tr><tr><td> Telegram</td><td align="right"><a href="https://github.com/alexjustesen/speedtest-tracker/pull/265">Done</a></td></tr><tr><td></td><td align="right"></td></tr><tr><td><strong>Application Monitoring</strong></td><td align="right"></td></tr><tr><td> <a href="https://ohdear.app/">https://ohdear.app/</a></td><td align="right">Planned</td></tr><tr><td> <a href="https://thenping.me/">https://thenping.me/</a></td><td align="right">Planned</td></tr><tr><td> <a href="https://healthchecks.io/">https://healthchecks.io/</a></td><td align="right">Planned</td></tr><tr><td></td><td align="right"></td></tr><tr><td><strong>Other</strong></td><td align="right"></td></tr><tr><td> Backup / Restore</td><td align="right">Planned</td></tr><tr><td> Import data from <a href="https://github.com/henrywhitaker3/Speedtest-Tracker">https://github.com/henrywhitaker3/Speedtest-Tracker</a></td><td align="right">Planned</td></tr></tbody></table>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Installation
2+
3+
Speedtest Tracker can be run on a variety of platforms including using [Docker and Docker Compose](installation.md) along with [Synology NAS](installation-1.md) devices and on [Unraid OS](installation-2.md).
4+
5+
{% hint style="info" %}
6+
Docker Compose is the recommended platform.
7+
{% endhint %}
8+
9+
### Environment Variables
10+
11+
#### Core
12+
13+
<table><thead><tr><th width="225">Name</th><th>Description</th></tr></thead><tbody><tr><td><code>PUID</code><br><br>(required)</td><td>Used to set the user the container should run as. To find your UID run <code>id username</code> on the host machine.<br><br>- Default: <code>1000</code></td></tr><tr><td><code>PGID</code><br><br>(required)</td><td>Used to set the group the container should run as. To find your GID run <code>id username</code> on the host machine.<br><br>- Default: <code>1000</code></td></tr><tr><td><code>APP_KEY</code></td><td>Key used to encrypt and decrypt data. To create a key to persist follow the directions in the <a href="../../faqs.md#i-get-a-warning-on-container-start-up-that-the-app_key-is-missing">FAQ</a>.<br><br><em>Currently not used and generated at random on startup of the container</em>.</td></tr><tr><td><code>APP_DEBUG</code></td><td>Used to help narrow down issues in a running container, see <a href="../../faqs.md#im-getting-a-500-or-server-error-error">FAQ</a> for when to use it.<br><br>- Default: <code>false</code></td></tr><tr><td><code>DB_CONNECTION</code><br><br>(required)</td><td>Type of database to be used for storing data. Accepted values are <code>sqlite</code>, <code>mysql</code> and <code>pgsql</code>.</td></tr><tr><td><code>DB_HOST</code><br><br>(required)</td><td>FQDN or container name where the database is located.</td></tr><tr><td><code>DB_PORT</code></td><td>Port used to connect to the host where the database is located. Only needs to be defined if the database is running on a different port.<br><br>- Default: <code>3306</code> when using MySQL or MariaDB<br>- Default: <code>5432</code> when using Postgresql</td></tr><tr><td>DB_DATABASE<br><br>(required)</td><td>Name of the database.</td></tr><tr><td><code>DB_USERNAME</code><br><br>(required)</td><td>Database user used to connect to the database. Needs <code>read/write</code> access.</td></tr><tr><td><code>DB_PASSWORD</code><br><br>(required)</td><td>Password for the user specified to connect to the database.</td></tr><tr><td><code>FORCE_HTTPS</code></td><td>Enforces the user of <code>https</code> protocol when viewing the UI, port 443 must be mapped to the container for this to work.<br><br>- Default: <code>false</code></td></tr></tbody></table>
14+
15+
#### Functional
16+
17+
<table><thead><tr><th width="225">Name</th><th>Description</th></tr></thead><tbody><tr><td><code>CONTENT_WIDTH</code></td><td>Width of the content section of each page. Can be set to any value found in the Filament <a href="https://filamentphp.com/docs/3.x/panels/configuration#customizing-the-maximum-content-width">docs</a>.<br><br>- Default: <code>7xl</code></td></tr><tr><td><code>DASHBOARD_POLLING</code></td><td>Frequency charts and stats refresh on the dashboard. Can be represented using a string in seconds or <code>false</code> to disable.<br><br>- Default: <code>60s</code></td></tr><tr><td><code>NOTIFICATION_POLLING</code></td><td>Frequency database notifications are polled. Can be represented using a string in seconds or <code>false</code> to disable.<br><br>- Default: <code>60s</code></td></tr><tr><td><code>RESULTS_POLLING</code></td><td>Frequency data refreshes in the results table. Can be represented using a string in seconds or <code>false</code> to disable.<br><br>- Default: <code>false</code></td></tr></tbody></table>
18+
19+
***
20+
21+
### Port Mapping
22+
23+
<table><thead><tr><th>Protocol</th><th data-type="number">External port (default)</th><th data-type="number">Internal port</th></tr></thead><tbody><tr><td>HTTP</td><td>80</td><td>80</td></tr><tr><td>HTTPS</td><td>443</td><td>443</td></tr></tbody></table>
24+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
description: >-
3+
These instructions will run you through setting up the application on a
4+
Synology NAS.
5+
---
6+
7+
# Using Synology
8+
9+
{% hint style="warning" %}
10+
These directions are out-of-date as Synology has changed the `Docker` application to `Container Manager.`
11+
{% endhint %}
12+
13+
### Install on a Synology NAS
14+
15+
Open the Docker interface of your Synology Device, search for `ajustesen/speedtest-tracker` in the Registry and download it.
16+
17+
![download\_image](https://user-images.githubusercontent.com/92191413/210480118-b15f83af-6617-4a0d-b631-760f419425b9.png)
18+
19+
Create a local directory (i.e. `/volume1/docker/speedtest-tracker`) which later can be mapped to the docker container.
20+
21+
Launch the image once the download is completed.
22+
23+
![launch\_image](https://user-images.githubusercontent.com/92191413/210480210-baa06b52-c3b0-41a4-b50e-ce7af82d683c.png)
24+
25+
Map the ports to available ports.
26+
27+
![port\_mapping](https://user-images.githubusercontent.com/92191413/210481629-6fa76992-403a-415e-9967-af7b00c97d87.png)
28+
29+
{% hint style="info" %}
30+
Make sure the ports you choose are not used by any other application or DSM service on your device and remember to adjust the Synology Firewall settings accordingly.
31+
{% endhint %}
32+
33+
Map the directory you created earlier to the mount path `/config`.
34+
35+
![volume\_mapping](https://user-images.githubusercontent.com/92191413/210480901-069703e3-c6ab-446c-b53b-8c5ef3c87085.png)
36+
37+
Review your settings and click "done".
38+
39+
![summary](https://user-images.githubusercontent.com/92191413/210480977-3e24ba39-b23e-463f-acba-0a1aad1e57ec.png)
40+
41+
You can now access Speedtest-Tracker via `http://YOUR_IP_ADDRESS:8080` or `https://YOUR_IP_ADDRESS:8443`.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
description: >-
3+
These instructions will run you through setting up the application on a server
4+
running Unraid OS.
5+
---
6+
7+
# Using Unraid
8+
9+
### Install on Unraid OS
10+
11+
The unRAID community app store contains an app template managed by ZappyZap. Search "Speedtest Tracker" to install. Template support can be found [here](https://forums.unraid.net/topic/130245-support-devzwf-speedtest-tracker/).

0 commit comments

Comments
 (0)