diff --git a/README.md b/README.md index 682356f..4c11855 100644 --- a/README.md +++ b/README.md @@ -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 +```` +#### 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. @@ -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. 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.