Skip to content

Commit 5cad53e

Browse files
authored
Merge pull request #687 from iJuhan/fix/docker-docs
Update docker documentation
2 parents a177238 + a8af966 commit 5cad53e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc_docker.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ An Alpine Linux based docker version of LibreSpeed is also available here: [GitH
1111
If you just want to try it, the fastest way is:
1212

1313
```shell
14-
docker run -p 80:80 -d --name speedtest --rm ghcr.io/librespeed/speedtest
14+
docker run -p 80:8080 -d --name speedtest --rm ghcr.io/librespeed/speedtest
1515
```
1616

17-
Then go with your browser to port 80 of your server and try it out. If port 80 is already in use, adjust the first number in 80:80 above.
17+
Then go with your browser to port 80 of your server and try it out. If port 80 is already in use, adjust the first number in 80:8080 above.
1818
Default is to run in standalone mode.
1919

2020
## Docker Compose
@@ -41,9 +41,9 @@ services:
4141
#DISABLE_IPINFO: "false"
4242
#IPINFO_APIKEY: "your api key"
4343
#DISTANCE: "km"
44-
#WEBPORT: 80
44+
#WEBPORT: 8080
4545
ports:
46-
- "80:80" # webport mapping (host:container)
46+
- "80:8080" # webport mapping (host:container)
4747
```
4848
4949
Please adjust the environment variables according to the intended operating mode.
@@ -73,7 +73,7 @@ Here's a list of additional environment variables available in this mode:
7373
* __`DISABLE_IPINFO`__: If set to `true`, ISP info and distance will not be fetched from either [ipinfo.io](https://ipinfo.io) or the offline database. Default: value: `false`
7474
* __`IPINFO_APIKEY`__: API key for [ipinfo.io](https://ipinfo.io). Optional, but required if you want to use the full [ipinfo.io](https://ipinfo.io) APIs (required for distance measurement)
7575
* __`DISTANCE`__: When `DISABLE_IPINFO` is set to false, this specifies how the distance from the server is measured. Can be either `km` for kilometers, `mi` for miles, or an empty string to disable distance measurement. Requires an [ipinfo.io](https://ipinfo.io) API key. Default value: `km`
76-
* __`WEBPORT`__: Allows choosing a custom port for the included web server. Default value: `80`. Note that you will have to expose it through docker with the -p argument. This is not the port where the service is exposed outside docker!
76+
* __`WEBPORT`__: Allows choosing a custom port for the included web server. Default value: `8080`. Note that you will have to expose it through docker with the -p argument. This is not the port where the service is exposed outside docker!
7777

7878
If telemetry is enabled, a stats page will be available at `http://your.server/results/stats.php`, but a password must be specified.
7979

@@ -110,7 +110,7 @@ Here's a list of additional environment variables available in this mode:
110110
This command starts LibreSpeed in backend mode, with the default settings, on port 80:
111111

112112
```shell
113-
docker run -e MODE=backend -p 80:80 -it ghcr.io/librespeed/speedtest
113+
docker run -e MODE=backend -p 80:8080 -it ghcr.io/librespeed/speedtest
114114
```
115115

116116
### Frontend mode

0 commit comments

Comments
 (0)