-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added openspeedtest #834
added openspeedtest #834
Conversation
@Svelte-Enthusiast Thank you for the PR. Default port for http : 3000Default port for https : 3001
I don't know how caprover handles apps.
|
Thanks! Formatting seems to be not working. Suggest running |
public/v4/apps/openspeedtest.yml
Outdated
@@ -2,23 +2,23 @@ captainVersion: 4 | |||
|
|||
services: | |||
'$$cap_appname': | |||
image: index.docker.io/openspeedtest/latest:$$cap_openspeedtest_version | |||
image: index.docker.io/test/latest:$$cap_test_version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lots of wrong replacement here. All "openspeedtest" instances in the definition are converted to test
public/v4/apps/openspeedtest.yml
Outdated
instructions: | ||
start: |- | ||
OpenSpeedTest is a self-hosted speedtest. You can read more about this on https://openspeedtest.com/selfhosted-speedtest. | ||
Test is a self-hosted speedtest. You can read more about this on https://test.com/selfhosted-speedtest. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here... Test is a self-hosted speedtest. You can read more about this on https://test.com/selfhosted-speedtest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super weird. the only thing i did was run the formatter. i fixed it with the next push
Thanks! @openspeedtest - I assume you maintain this image. I suggest you change the image to a standard format.
|
@githubsaturn When I started using docker, I was unaware of or fully understood this concept. |
Yea I definitely recommend using concrete version tags. Here is a snippet on why they are important. |
* added openspeedtest * changed default version to speedtest * suggested fixes * add formatting * fixed replacement issues
I was getting ready to open a PR for this app, I may link it here if I can confirm that I'm not breaking anything, or that I wasn't making a mistake in my initial setup. The problem as it currently exists is this: When deployed as-is, the port is set to the
It's my understanding that this is due to the way the reverse proxy is being handled. I'm not an expert with Nginx, so a second opinion would be good here, but I believe the app's port should be set to the I deployed My PR was going to change the HTTP port to |
While reading on the Caprover's default Nginx config uses I don't think it's generally ideal for apps to require editing the default config (although it isn't unheard of). That said, I noticed if "Websocket Support" has been enabled, then this line is added to the default config: @githubsaturn - Would the "Websocket Support" flag do anything to help with this, or is it only triggered when the It seems like running OpenSpeedTest behind a reverse proxy may just have some inherent issues. I am running it under port I'll be glad to continue testing, if the |
I attempted to work with both the Tldr; I don't have any suggestions with regard to the reverse proxy problems. But I believe I have fixed the port issue, and I added details in the deployment instructions regarding the limits for this implementation of OpenSpeedTest. I put my local branch up at https://github.com/nativeit/one-click-apps/tree/openspeedtest-dev - if you'd like me to open a PR, I certainly will. See changes at: master...nativeit:one-click-apps:openspeedtest-dev |
100% correct! RE: the rest of your questions, I can't say much since it's really dependent of how this app was built. But looks like they require a lot of custom settings for nginx to work properly |
Added #808 , openspeedtest
☑️ Self Check before Merge