Skip to content

Commit 104e63d

Browse files
authored
Merge pull request alexjustesen#100 from svenvg93/update-notifications
Update the notifications docs
2 parents 89550c6 + 6d121be commit 104e63d

File tree

8 files changed

+47
-6
lines changed

8 files changed

+47
-6
lines changed
-66.2 KB
Loading
-72.2 KB
Loading
-60.8 KB
Loading

getting-started/installation/using-docker-compose.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,48 @@ volumes:
148148
{% endtab %}
149149
150150
{% tab title="Postgres" %}
151-
151+
```yaml
152+
services:
153+
speedtest-tracker:
154+
image: lscr.io/linuxserver/speedtest-tracker:latest
155+
restart: unless-stopped
156+
container_name: speedtest-tracker
157+
ports:
158+
- 8080:80
159+
- 8443:443
160+
environment:
161+
- PUID=
162+
- PGID=
163+
- APP_KEY=
164+
- DB_CONNECTION=pgsql
165+
- DB_HOST=db
166+
- DB_PORT=5432
167+
- DB_DATABASE=speedtest_tracker
168+
- DB_USERNAME=speedtest_tracker
169+
- DB_PASSWORD=password
170+
volumes:
171+
- /path/to/data:/config
172+
- /path/to-custom-ssl-keys:/config/keys
173+
depends_on:
174+
- db
175+
db:
176+
image: postgres:18
177+
restart: always
178+
environment:
179+
- POSTGRES_DB=speedtest_tracker
180+
- POSTGRES_USER=speedtest_tracker
181+
- POSTGRES_PASSWORD=password
182+
- PGDATA=/var/lib/postgresql/data/
183+
volumes:
184+
- speedtest-db:/var/lib/postgresql/data
185+
healthcheck:
186+
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
187+
interval: 10s
188+
retries: 5
189+
timeout: 5s
190+
volumes:
191+
speedtest-db:
192+
```
152193
{% endtab %}
153194
{% endtabs %}
154195

settings/notifications/apprise.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Apprise provides a unified notification channel that lets you send alerts to numerous services—like Discord, Pushover, and Ntfy as well as many additional platforms
44

5-
<figure><img src="../../.gitbook/assets/apprise_notifiations.png" alt=""><figcaption><p>Apprise settings</p></figcaption></figure>
5+
<figure><img src="../../.gitbook/assets/apprise_notifiations.png" alt=""><figcaption><p>Apprise settings</p></figcaption></figure>
66

77
### Apprise Server
88

@@ -14,4 +14,4 @@ Apprise channels are the formatted URLs used by Apprise to send notifications to
1414

1515
### Triggers
1616

17-
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>On completed speedtest</td><td>On each successful speedtest a notification will be send to the application.</td></tr><tr><td>On absolute threshold failure</td><td>On any absolute threshold failure a notification will be send to the application.</td></tr></tbody></table>
17+
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>on every scheduled speedtest run</td><td>On each successful scheduled speedtest a notification will be send to the application.</td></tr><tr><td>on threshold failures for scheduled speedtests</td><td>On any absolute threshold failure for scheduled speedtest a notification will be send to the application.</td></tr></tbody></table>

settings/notifications/database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Notifications sent to the database channel will show up under the 🔔 icon in t
66

77
### Triggers
88

9-
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>On completed speedtest</td><td>On each successful speedtest a notification will be send to the application.</td></tr><tr><td>On absolute threshold failure</td><td>On any absolute threshold failure a notification will be send to the application.</td></tr></tbody></table>
9+
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>on every scheduled speedtest run</td><td>On each successful scheduled speedtest a notification will be send to the application.</td></tr><tr><td>on threshold failures for scheduled speedtests</td><td>On any absolute threshold failure for scheduled speedtest a notification will be send to the application.</td></tr></tbody></table>

settings/notifications/mail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ MAIL_FROM_NAME="Speedtest Tracker"
5151

5252
### Triggers
5353

54-
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>On completed speedtest</td><td>On each successful speedtest a notification will be send to the application.</td></tr><tr><td>On absolute threshold failure</td><td>On any absolute threshold failure a notification will be send to the application.</td></tr></tbody></table>
54+
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>on every scheduled speedtest run</td><td>On each successful scheduled speedtest a notification will be send to the application.</td></tr><tr><td>on threshold failures for scheduled speedtests</td><td>On any absolute threshold failure for scheduled speedtest a notification will be send to the application.</td></tr></tbody></table>
5555

5656
### Recipients
5757

settings/notifications/webhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ Payload sent for a threshold failure
6161

6262
### Triggers
6363

64-
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>On completed speedtest</td><td>On each successful speedtest a notification will be send to the application.</td></tr><tr><td>On absolute threshold failure</td><td>On any absolute threshold failure a notification will be send to the application.</td></tr></tbody></table>
64+
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>on every scheduled speedtest run</td><td>On each successful scheduled speedtest a notification will be send to the application.</td></tr><tr><td>on threshold failures for scheduled speedtests</td><td>On any absolute threshold failure for scheduled speedtest a notification will be send to the application.</td></tr></tbody></table>

0 commit comments

Comments
 (0)