From 380aa6057f4fdefe7b14773a0e569fbc9393d295 Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 13:47:22 +0000 Subject: [PATCH 1/2] Fix ingress for Librespeed --- librespeed/CHANGELOG.md | 6 ++++++ librespeed/config.json | 8 +++++--- librespeed/translations/en.yaml | 11 +++++++++++ 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 librespeed/translations/en.yaml diff --git a/librespeed/CHANGELOG.md b/librespeed/CHANGELOG.md index 8b4df9eee..cd84ee979 100644 --- a/librespeed/CHANGELOG.md +++ b/librespeed/CHANGELOG.md @@ -1,3 +1,9 @@ +## 5.4.1a (03-04-2025) + +- Fixed ingress +- Added config for IPINFO_APIKEY +- Added descriptions for configs + ## 5.4.1 (02-04-2025) - Initial release diff --git a/librespeed/config.json b/librespeed/config.json index f88e1ae3e..9693cc707 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -74,10 +74,11 @@ }, "image": "ghcr.io/alexbelgium/librespeed-{arch}", "init": false, + "ingress": true, + "ingress_stream": true, "map": [ "config:rw", - "share:rw", - "media:rw" + "share:rw" ], "name": "LibreSpeed", "options": { @@ -100,6 +101,7 @@ "PGID": "int", "PUID": "int", "TZ": "str?", + "IPINFO_APIKEY": "str?", "PASSWORD": "str?", "CUSTOM_RESULTS": "bool?", "cifsdomain": "str?", @@ -111,6 +113,6 @@ "slug": "librespeed", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "5.4.1", + "version": "5.4.1a", "webui": "[PROTO:ssl]://[HOST]:[PORT:8096]" } diff --git a/librespeed/translations/en.yaml b/librespeed/translations/en.yaml new file mode 100644 index 000000000..54b23cb4b --- /dev/null +++ b/librespeed/translations/en.yaml @@ -0,0 +1,11 @@ +--- +configuration: + CUSTOM_RESULTS: + name: Custom results + description: >- + (optional) set to true to enable custom results page in /config/www/results/index.php. + To enable a custom results page set the environment variable CUSTOM_RESULTS=true and start (or restart) the container at least once for /config/www/results/index.php to be created and modify this file to your liking. + IPINFO_APIKEY: + name: ipinfo.io API key + description: >- + (optional) Access token from ipinfo.io. Required for detailed IP information. \ No newline at end of file From f9f5f1456696dbdfc0ca8b1b180b8be73e4d7949 Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 13:59:48 +0000 Subject: [PATCH 2/2] remove webui --- librespeed/config.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index e9af392a4..2b83a8fdb 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -77,8 +77,7 @@ "ingress": true, "ingress_stream": true, "map": [ - "config:rw", - "share:rw" + "addon_config:rw" ], "name": "LibreSpeed", "options": { @@ -91,7 +90,7 @@ "8096/tcp": 8096 }, "ports_description": { - "8096/tcp": "web interface" + "8096/tcp": "web interface (Not required for Ingress)" }, "privileged": [ "SYS_ADMIN", @@ -113,6 +112,5 @@ "slug": "librespeed", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "5.4.1a", - "webui": "http://[HOST]:[PORT:8096]" + "version": "5.4.1a" }