From 42277a848da9697e5d6aec41e9e7ad9c1bd092c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?OpenSpeedTest=E2=84=A2?= <51720450+openspeedtest@users.noreply.github.com> Date: Sun, 9 Jul 2023 12:38:45 +0530 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index f9fda22..d1add6d 100644 --- a/README.md +++ b/README.md @@ -410,6 +410,26 @@ services: - '3001:3001' image: openspeedtest/latest ```` +## Advanced Configuration Options + +- Container Port Configuration + +To enable port changes, set the `CHANGE_CONTAINER_PORTS` environment variable to `"True"` and provide appropriate values for the following variables. + +`CHANGE_CONTAINER_PORTS=True` + +`HTTP_PORT=3000` + +`HTTPS_PORT=3001` + +- Set User + +`SET_USER=101` + +- Only Allow `CORS Request` from listed domains. + +`ALLOW_ONLY=domain1.com;domain2.com;domain3.com` + 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.