From 7c05ba084e37e5ec0ddd2cfa57824aad5bab9c5d Mon Sep 17 00:00:00 2001 From: Stefan Stidl Date: Sun, 5 Nov 2023 00:14:48 +0100 Subject: [PATCH] switch docker image location --- README.md | 2 +- doc_docker.md | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 81d692cb3..bbe55cb74 100755 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ There is a more in-depth installation video here: A template to build an Android client for your LibreSpeed installation is available [here](https://github.com/librespeed/speedtest-android). ## Docker -A docker image is available on the [Docker Hub](https://registry.hub.docker.com/r/adolfintel/speedtest), check our [docker documentation](doc_docker.md) for more info about it +A docker image is available on [GitHub](https://github.com/librespeed/speedtest/pkgs/container/speedtest), check our [docker documentation](doc_docker.md) for more info about it. ## Go backend A Go implementation is available in the [`speedtest-go`](https://github.com/librespeed/speedtest-go) repo, maintained by [Maddie Zhan](https://github.com/maddie). diff --git a/doc_docker.md b/doc_docker.md index 6e377a2b2..2a6e5e2b1 100755 --- a/doc_docker.md +++ b/doc_docker.md @@ -1,13 +1,13 @@ -A docker version of LibreSpeed is available on docker hub: [https://hub.docker.com/r/adolfintel/speedtest/](https://hub.docker.com/r/adolfintel/speedtest/) +A docker version of LibreSpeed is available here: [GitHub Packages](https://github.com/librespeed/speedtest/pkgs/container/speedtest) -## Downloading from Docker hub -To download LibreSpeed from the docker hub, use this command: +## Downloading docker image +To download LibreSpeed from the docker repo, use this command: ``` -docker pull adolfintel/speedtest +docker pull ghcr.io/librespeed/speedtest ``` -You will now have a new docker image called `adolfintel/speedtest`. +You will now have a new docker image called `librespeed/speedtest`. ## Docker Compose @@ -18,7 +18,7 @@ version: '3.7' services: speedtest: container_name: speedtest - image: adolfintel/speedtest + image: ghcr.io/librespeed/speedtest:latest restart: always environment: MODE: standalone @@ -67,13 +67,13 @@ So if you want your data to be persisted over image updates, you have to mount a This command starts LibreSpeed in standalone mode, with the default settings, on port 80: ``` -docker run -e MODE=standalone -p 80:80 -it adolfintel/speedtest +docker run -e MODE=standalone -p 80:80 -it ghcr.io/librespeed/speedtest ``` This command starts LibreSpeed in standalone mode, with telemetry, ID obfuscation and a stats password, on port 86: ``` -docker run -e MODE=standalone -e TELEMETRY=true -e ENABLE_ID_OBFUSCATION=true -e PASSWORD="yourPasswordHere" -e WEBPORT=86 -p 86:86 -v $PWD/db-dir/:/database -it adolfintel/speedtest +docker run -e MODE=standalone -e TELEMETRY=true -e ENABLE_ID_OBFUSCATION=true -e PASSWORD="yourPasswordHere" -e WEBPORT=86 -p 86:86 -v $PWD/db-dir/:/database -it ghcr.io/librespeed/speedtest ``` ## Multiple Points of Test @@ -90,7 +90,7 @@ Here's a list of additional environment variables available in this mode: ###### Example: This command starts LibreSpeed in backend mode, with the default settings, on port 80: ``` -docker run -e MODE=backend -p 80:80 -it adolfintel/speedtest +docker run -e MODE=backend -p 80:80 -it ghcr.io/librespeed/speedtest ``` ### Frontend mode @@ -137,5 +137,5 @@ Here's a list of additional environment variables available in this mode: ###### Example This command starts LibreSpeed in frontend mode, with a given `servers.json` file, and with telemetry, ID obfuscation, and a stats password: ``` -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 +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 ghcr.io/librespeed/speedtest ```