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
Add Syncthing Relay Server widget #230
Add Syncthing Relay Server widget #230
Conversation
DevPGSV
commented
Sep 20, 2022
- Added Syncthing Relay Server widget
Is |
That link points to the Syncthing client documentation. https://docs.syncthing.net/users/strelaysrv.html The request is done to the address defined in: |
I need an example widget entry, along with any details a user might need to know to get the widget hooked up, for the Wiki. After that, I'll merge this in. |
I would suggest changing the last two stats to be just "Relayed" and "Rate", but I can do that after the merge, either way. We try to keep them single words, since the translation is often much longer, but still needs to fit. |
The service configuration I am using: - Syncthing Relay Server:
description: Syncthing Relay Server
icon: syncthing
server: [redacted]
container: [redacted]
widget:
type: strelaysrv
url: http://syncthing.librelabucm.org:22070 The command documentation is here: https://docs.syncthing.net/users/strelaysrv.html We are currently running that Syncthing Relay Server by using: https://hub.docker.com/r/syncthing/relaysrv Docker or not, the the flag "-status-srv=" defines the address for status endpoint with statistics. By default its value is services:
strelaysrv:
image: syncthing/relaysrv:latest
network_mode: "host"
entrypoint: ["/bin/entrypoint.sh", "/bin/strelaysrv", "-listen=0.0.0.0:22067", "-ext-address=syncthing.librelabucm.org:22067", "-status-srv=syncthing.librelabucm.org:22070"]
volumes:
- ./volumes/strelaysrv:/var/strelaysrv
ports:
- 22067:22067
- 22070:22070 The site https://relays.syncthing.net/ periodically queries the endpoint of known Syncthing Relay Servers to display the statistics. For example, choosing from the list: |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |