You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc_docker.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,10 @@ An Alpine Linux based docker version of LibreSpeed is also available here: [GitH
11
11
If you just want to try it, the fastest way is:
12
12
13
13
```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
15
15
```
16
16
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.
18
18
Default is to run in standalone mode.
19
19
20
20
## Docker Compose
@@ -41,9 +41,9 @@ services:
41
41
#DISABLE_IPINFO: "false"
42
42
#IPINFO_APIKEY: "your api key"
43
43
#DISTANCE: "km"
44
-
#WEBPORT: 80
44
+
#WEBPORT: 8080
45
45
ports:
46
-
- "80:80"# webport mapping (host:container)
46
+
- "80:8080"# webport mapping (host:container)
47
47
```
48
48
49
49
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:
73
73
* __`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`
74
74
* __`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)
75
75
* __`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!
77
77
78
78
If telemetry is enabled, a stats page will be available at `http://your.server/results/stats.php`, but a password must be specified.
79
79
@@ -110,7 +110,7 @@ Here's a list of additional environment variables available in this mode:
110
110
This command starts LibreSpeed in backend mode, with the default settings, on port 80:
111
111
112
112
```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
0 commit comments