Skip to content

Commit

Permalink
Extend documentation for docker usecase
Browse files Browse the repository at this point in the history
Probably be related to  librespeed/speedtest-android#37
  • Loading branch information
726D authored Jan 23, 2023
1 parent 97e0390 commit ad874f9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit ad874f9

Please sign in to comment.