From ad874f966775e9494404d0a469eb59ac9f8f5c4b Mon Sep 17 00:00:00 2001 From: 726D <1206218+726D@users.noreply.github.com> Date: Mon, 23 Jan 2023 11:24:58 +0100 Subject: [PATCH] Extend documentation for docker usecase Probably be related to https://github.com/librespeed/speedtest-android/issues/37 --- doc_docker.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc_docker.md b/doc_docker.md index 753fe024c..10d44a9dd 100755 --- a/doc_docker.md +++ b/doc_docker.md @@ -104,3 +104,25 @@ This command starts LibreSpeed in frontend mode, with a given `servers.json` fil ``` docker run -e MODE=frontend -e TELEMETRY=true -e ENABLE_ID_OBFUSCATION=true -e PASSWORD="yourPasswordHere" -v $(pwd)/servers.json:/servers.json -p 80:80 -it adolfintel/speedtest ``` +## Adjusting the android client + +Depending on the configuration of the server the android client configuration may have to be adjusted. + +E.g. for a standalone sever running in docker the file https://github.com/librespeed/speedtest-android/blob/master/Speedtest-Android/app/src/main/assets/ServerList.json +should look like +~~~ +[ + { + "name":"somelab, somwhere", + "server":"http://172.24.40.249:8888/", + "dlURL":"backend/garbage.php", + "ulURL":"backend/empty.php", + "pingURL":"backend/empty.php", + "getIpURL":"backend/getIP.php" + } +] +~~~ +with name adjusted as on likes and server set to the url where the running container is accessible. + + +