Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend documentation for docker usecase #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.