mirror of
https://github.com/openspeedtest/Speed-Test.git
synced 2026-11-10 16:31:10 +00:00
Update README.md
This commit is contained in:
1 parent
bbb3c6d1f3
commit
298b72e12b
1 file changed
+12
-2
@@ -304,6 +304,18 @@ You have two options here. If you need a custom deployment, use our source code
|
|||||||
|
|
||||||
sudo docker run --restart=unless-stopped --name openspeedtest -d -p 3000:3000 -p 3001:3001 openspeedtest/latest
|
sudo docker run --restart=unless-stopped --name openspeedtest -d -p 3000:3000 -p 3001:3001 openspeedtest/latest
|
||||||
|
|
||||||
|
````
|
||||||
|
#### Or use docker-compose.yml
|
||||||
|
````
|
||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
speedtest:
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: openspeedtest
|
||||||
|
ports:
|
||||||
|
- '3000:3000'
|
||||||
|
- '3001:3001'
|
||||||
|
image: openspeedtest/latest
|
||||||
````
|
````
|
||||||
- Warning! If you run it behind **[a reverse proxy](https://github.com/openspeedtest/Speed-Test/issues/4#issuecomment-1229157193)** you should increase post body content length to 35 Megabytes or more.
|
- Warning! If you run it behind **[a reverse proxy](https://github.com/openspeedtest/Speed-Test/issues/4#issuecomment-1229157193)** you should increase post body content length to 35 Megabytes or more.
|
||||||
|
|
||||||
@@ -348,8 +360,6 @@ sudo docker run -v /Users/vishnu/Desktop/docker/:/etc/ssl/ --restart=unless-stop
|
|||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Docker images run better on Linux Platforms, including your NAS. But if you install docker on macOS or Windows, you may see poor performance. I asked this on Docker forums, and they told me macOS and Windows support is for Development purposes only. For Production, you need to use any Linux Platform.
|
Docker images run better on Linux Platforms, including your NAS. But if you install docker on macOS or Windows, you may see poor performance. I asked this on Docker forums, and they told me macOS and Windows support is for Development purposes only. For Production, you need to use any Linux Platform.
|
||||||
|
|
||||||
The same Story goes for Windows NGINX. Nginx uses only one worker even if you specify n number of worker processes. They will show in Task Manager, but the system will only use one. I got this information directly from the Nginx website.
|
The same Story goes for Windows NGINX. Nginx uses only one worker even if you specify n number of worker processes. They will show in Task Manager, but the system will only use one. I got this information directly from the Nginx website.
|
||||||
|
|||||||
Reference in new issue
Block a user