Repository navigation
fix(dashboard): substitute NEXT_PUBLIC_NHOST_LOGS_* URLs at container start - #5134
Merged
robertkasza merged 6 commits intoNov 19, 2026
Merged
Conversation
The dashboard image compiles placeholder values for its NEXT_PUBLIC_NHOST_* URLs and docker-entrypoint.sh replaces them with the container's environment at startup. NEXT_PUBLIC_NHOST_LOGS_GRAPHQL_URL and NEXT_PUBLIC_NHOST_LOGS_WEBSOCKET were missing from both, so the browser bundle kept process.env.NEXT_PUBLIC_NHOST_LOGS_*, which is undefined client-side, and always fell back to https://local.dashboard.local.nhost.run/v1/logs/graphql. With a custom subdomain or HTTP port the Logs page queried the wrong host and showed nothing. Add both as build-time placeholders and replace them in the entrypoint. They default to empty, which keeps the current fallback when they're unset. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Contributor
|
|
robertkasza
approved these changes
Nov 17, 2026
robertkasza
force-pushed
the
fix/dashboard-logs-url-placeholders
branch
from
November 17, 2026 15:44
f8ce95a to
569b14a
Compare
Contributor
|
|
robertkasza
approved these changes
Nov 17, 2026
Contributor
Vercel Deployment Info - dashboard
|
Contributor
|
|
robertkasza
approved these changes
Nov 18, 2026
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.
The dashboard image compiles placeholder values for its NEXT_PUBLIC_NHOST_* URLs and docker-entrypoint.sh replaces them with the container's environment at startup. NEXT_PUBLIC_NHOST_LOGS_GRAPHQL_URL and NEXT_PUBLIC_NHOST_LOGS_WEBSOCKET were missing from both, and always fell back to https://local.dashboard.local.nhost.run/v1/logs/graphql. With a custom subdomain or HTTP port the Logs page queried the wrong host and errored with
Failed to fetch.Adds the build-time placeholders and replaces them in the entrypoint.
Checklist