fix: grafana public dashboard URLs use localhost instead of real domain#10
Merged
josecelano merged 2 commits intomainfrom Mar 12, 2026
Merged
Conversation
Without this setting, Grafana defaults to http://localhost:3000 when generating public dashboard share URLs, making them unreachable externally. Refs: #9
- Add composite preview image (docs/media/grafana-dashboards.webp) - Add Grafana Dashboards section with public dashboard links and individual screenshot links for all three dashboards - Update issue doc with real image filename and deployer cross-reference Refs: #9
Member
Author
|
ACK e8bda81 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the root cause of Grafana generating public dashboard share links with
http://localhost:3000instead of the real domain.Changes
server/opt/torrust/.env— addGF_SERVER_ROOT_URLto the Grafana sectionserver/opt/torrust/docker-compose.yml— injectGF_SERVER_ROOT_URLinto the Grafana service environmentdocs/media/grafana-dashboards.webp— composite preview image of all three dashboardsREADME.md— add Grafana Dashboards section with public links and individual screenshot linksdocs/issues/ISSUE-9-grafana-public-dashboard-url-uses-localhost.md— update issue doc with real image filename and cross-reference to deployer issuePublic dashboard links
Related
Closes #9
See also: torrust/torrust-tracker-deployer#415 — the same fix should be applied upstream in the deployer