From 48af9e8a234c2bccd4e6aac098bd0572db35cf67 Mon Sep 17 00:00:00 2001 From: sstidl Date: Tue, 30 Dec 2025 00:43:40 +0100 Subject: [PATCH] cleanup old EMAIL ENV Var --- doc_docker.md | 4 +- docker/test/docker-compose.yml | 8 +- docker/ui.php | 527 --------------------------------- 3 files changed, 5 insertions(+), 534 deletions(-) delete mode 100755 docker/ui.php diff --git a/doc_docker.md b/doc_docker.md index 9ad495e..7a16d4e 100755 --- a/doc_docker.md +++ b/doc_docker.md @@ -37,7 +37,6 @@ services: #ENABLE_ID_OBFUSCATION: "false" #REDACT_IP_ADDRESSES: "false" #PASSWORD: - #EMAIL: #GDPR_EMAIL: "privacy@example.com" #DISABLE_IPINFO: "false" #IPINFO_APIKEY: "your api key" @@ -72,8 +71,7 @@ Here's a list of additional environment variables available in this mode: * DB_USERNAME, DB_PASSWORD - credentials of the user with read and update permissions to the db * mssql - not supported in docker image yet (feel free to open a PR with that, has to be done in `entrypoint.sh`) * __`PASSWORD`__: Password to access the stats page. If not set, stats page will not allow accesses. -* __`EMAIL`__: Email address for GDPR requests. Must be specified when telemetry is enabled. -* __`GDPR_EMAIL`__: Email address displayed in the privacy policy for data deletion requests. If not set, the default placeholder text will be shown. This should be set to comply with GDPR requirements when running in production. +* __`GDPR_EMAIL`__: Email address displayed in the privacy policy for data deletion requests. If not set, the default placeholder text will be shown. This should be set to comply with GDPR requirements when running in production. Must be specified when telemetry is enabled. * __`DISABLE_IPINFO`__: If set to `true`, ISP info and distance will not be fetched from either [ipinfo.io](https://ipinfo.io) or the offline database. Default: value: `false` * __`IPINFO_APIKEY`__: API key for [ipinfo.io](https://ipinfo.io). Optional, but required if you want to use the full [ipinfo.io](https://ipinfo.io) APIs (required for distance measurement) * __`DISTANCE`__: When `DISABLE_IPINFO` is set to false, this specifies how the distance from the server is measured. Can be either `km` for kilometers, `mi` for miles, or an empty string to disable distance measurement. Requires an [ipinfo.io](https://ipinfo.io) API key. Default value: `km` diff --git a/docker/test/docker-compose.yml b/docker/test/docker-compose.yml index 4040485..723bdd9 100644 --- a/docker/test/docker-compose.yml +++ b/docker/test/docker-compose.yml @@ -4,7 +4,7 @@ x-shared: speedtest-service: &speedtest-service environment: - PASSWORD=gimmeTheStats1337 - - EMAIL=test@example.com + - GDPR_EMAIL=test@example.com - ENABLE_ID_OBFUSCATION=true - MODE=standalone - REDACT_IP_ADDRESSES=true @@ -32,7 +32,7 @@ services: - DB_PASSWORD=Not4SecureProduction - DB_TYPE=postgresql - DB_USERNAME=librespeed - - EMAIL=test@example.com + - GDPR_EMAIL=test@example.com - ENABLE_ID_OBFUSCATION=true - MODE=standalone - REDACT_IP_ADDRESSES=true @@ -73,7 +73,7 @@ services: - DB_PASSWORD=Not4SecureProduction - DB_TYPE=mysql - DB_USERNAME=librespeed - - EMAIL=test@example.com + - GDPR_EMAIL=test@example.com - ENABLE_ID_OBFUSCATION=true - MODE=standalone - REDACT_IP_ADDRESSES=true @@ -97,7 +97,7 @@ services: dockerfile: Dockerfile environment: &env_vars_sqlite - PASSWORD=gimmeTheStats1337 - - EMAIL=test@example.com + - GDPR_EMAIL=test@example.com - ENABLE_ID_OBFUSCATION=true - MODE=standalone - REDACT_IP_ADDRESSES=true diff --git a/docker/ui.php b/docker/ui.php deleted file mode 100755 index 4f2d697..0000000 --- a/docker/ui.php +++ /dev/null @@ -1,527 +0,0 @@ - - - - - - - - - -<?= getenv('TITLE') ?: 'LibreSpeed' ?> - - -

-
-

Selecting a server...

-
- - - -