openspeedtest / Speed-Test

SpeedTest by OpenSpeedTest™ is a Free and Open-Source HTML5 Network Performance Estimation Tool Written in Vanilla Javascript and only uses built-in Web APIs like XMLHttpRequest (XHR), HTML, CSS, JS, & SVG. No Third-Party frameworks or libraries are Required. Started in 2011 and moved to OpenSpeedTest.com dedicated Project/Domain Name in 2013.
https://openspeedtest.com
MIT License
2.28k stars 221 forks source link

FEATURE: Server name to be displayed on UI #102

Closed alexruffell closed 1 year ago

alexruffell commented 1 year ago

I have installed OST on several machines on my LAN and since they all look the same, I need to go by the IP of the server. It would be nice if there were a way to configure a server name that is displayed on the UI for easy identification of the server.

openspeedtest commented 1 year ago

Docker?

alexruffell commented 1 year ago

Yes, i use the docker method to install as recommended on your website. Why? The installs are on 3 Proxmox makeshift servers.

openspeedtest commented 1 year ago

The requested feature is already on my to-do list. However, I have no plans to add this to desktop and mobile apps, which is why I asked specifically. I am currently busy with other important tasks, but I will add this feature to our Docker container after October 25, 2023. Thanks.

openspeedtest commented 1 year ago

@alexruffell

Added SET_SERVER_NAME

docker run --restart=unless-stopped -e SET_SERVER_NAME=HOME-NAS --name=openspeedtest -d -p 3000:3000 openspeedtest
Screenshot 2023-10-31 at 8 35 36 AM Screenshot 2023-10-31 at 8 35 26 AM
alexruffell commented 1 year ago

Likely me not knowing how to use docker, but I had to stop the container and then remove both the container and the image otherwise it would not pull the latest version. I also had to add latest to the CLI command you provided above. It works great all on 3 of my internal servers! Thanks!