Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 4.06 KB

File metadata and controls

15 lines (10 loc) · 4.06 KB
description A complete inventory of all environment variables for configuring Speedtest Tracker.

Environment Variables

Application

NameDescription
PUID

(required)
Used to set the user the container should run as.

- Default:1000
PGID

(required)
Used to set the group the container should run as.

- Default:1000
APP_NAMEUsed to define the application's name in the dashboard and in notifications.
APP_KEY

(required)

Key used to encrypt and decrypt data.

You can generate a key at https://speedtest-tracker.dev.

APP_URLURL used for links in emails and notifications.
ASSET_URLURL used for assets, needed when using a reverse proxy.
APP_TIMEZONEApplication timezone should be set if your database does not use UTC as it's default timezone.
CHART_DATETIME
_FORMAT
Set the formatting of timestamps in charts.

Formatting: https://www.php.net/manual/en/datetime.format.php
DATETIME_FORMATSet the formatting of timestamps in tables and notifications.

Formatting: https://www.php.net/manual/en/datetime.format.php
DISPLAY_TIMEZONEDisplay timestamps in your local time.
CONTENT_WIDTHWidth of the content section of each page. Can be set to any value found in the Filament docs.

- Default:7xl
PUBLIC_DASHBOARDEnables the public dashboard for guest (unauthenticated) users.

- Default:false
DASHBOARD_POLLINGFrequency charts and stats refresh on the dashboard. Can be represented using a string in seconds orfalseto disable.

- Default:60s
NOTIFICATION
_POLLING
Frequency database notifications are polled. Can be represented using a string in seconds orfalseto disable.

- Default:60s
RESULTS_POLLINGFrequency data refreshes in the results table. Can be represented using a string in seconds orfalseto disable.

- Default:false
CHART_DEFAULT_DATE_RANGEThe default time range the charts will use.

- Default: 7
CHART_BEGIN_AT_ZEROWheter the charts should starts at zero (0) or not.

- Default: true

Speedtest

NameDescription
SPEEDTEST
_PING_URL
IP address or URL used to check for an internet connection prior to running a test.
SPEEDTEST
_SCHEDULE
Cron expression used to run speedtests on a scheduled basis. https://crontab.guru/ is a helpful tool.
SPEEDTEST
_SERVERS
Comma separated list of server IDs to randomly use for speedtests, use this page to find the best servers for your ISP/location https://c.speedtest.net/speedtest-servers-static.php.
PRUNE_RESULTS
_OLDER_THAN
Set the value to greated than zero to prune stored results. This value should be represented in days, e.g. 7 will purge all results over 7 days old.