mirror of
https://github.com/alexjustesen/speedtest-tracker.git
synced 2026-06-23 04:20:08 +00:00
a47e3225e5
Co-authored-by: Sven van Ginkel <svenvanginkel@icloud.com> Co-authored-by: Alex Justesen <1144087+alexjustesen@users.noreply.github.com>
52 lines
1.1 KiB
PHP
52 lines
1.1 KiB
PHP
<?php
|
|
|
|
use Carbon\Carbon;
|
|
|
|
return [
|
|
/**
|
|
* General settings.
|
|
*/
|
|
'build_date' => Carbon::parse('2025-12-05'),
|
|
|
|
'build_version' => 'v1.12.0',
|
|
|
|
'content_width' => env('CONTENT_WIDTH', '7xl'),
|
|
|
|
'prune_results_older_than' => (int) env('PRUNE_RESULTS_OLDER_THAN', 0),
|
|
|
|
'public_dashboard' => env('PUBLIC_DASHBOARD', false),
|
|
|
|
'default_chart_range' => strtolower(env('DEFAULT_CHART_RANGE', '24h')),
|
|
|
|
/**
|
|
* Speedtest settings.
|
|
*/
|
|
'schedule' => env('SPEEDTEST_SCHEDULE', false),
|
|
|
|
'servers' => env('SPEEDTEST_SERVERS'),
|
|
|
|
'blocked_servers' => env('SPEEDTEST_BLOCKED_SERVERS'),
|
|
|
|
'interface' => env('SPEEDTEST_INTERFACE'),
|
|
|
|
'checkinternet_url' => env('SPEEDTEST_CHECKINTERNET_URL', 'https://icanhazip.com'),
|
|
|
|
/**
|
|
* IP filtering settings.
|
|
*/
|
|
'allowed_ips' => env('ALLOWED_IPS'),
|
|
|
|
'skip_ips' => env('SPEEDTEST_SKIP_IPS', ''),
|
|
|
|
/**
|
|
* Threshold settings.
|
|
*/
|
|
'threshold_enabled' => env('THRESHOLD_ENABLED', false),
|
|
|
|
'threshold_download' => env('THRESHOLD_DOWNLOAD', 0),
|
|
|
|
'threshold_upload' => env('THRESHOLD_UPLOAD', 0),
|
|
|
|
'threshold_ping' => env('THRESHOLD_PING', 0),
|
|
];
|