Skip to content

Conversation

@amnir
Copy link

@amnir amnir commented Nov 22, 2025

Summary

Make config-ui dev server accessible outside the container when started by listening on 0.0.0.0 with the --host flag.
Also ensure it uses port 4000 or fails to start with --strictPort to prevent silent port change that will mismatch with the exported dev container port.

In addition, it makes Grafana accessible from dev container' config-ui by making the Grafana origin and origin change configurable and injected via the dev container environment variables.

web socket proxying (ws) is enabled regardless of dev container or not as it allows for features like grafana query auto-complete to work via the dev server proxy.

Does this close any open issues?

Closes #8638

Other Information

Re-opened as a new PR to better comply with the contribution guidelines (branch name + commit message)
(Initial PR)

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. component/config-ui This issue or PR relates to config-ui component/ext This issue or PR relates to external components, such as Grafana pr-type/bug-fix This PR fixes a bug labels Nov 22, 2025
…ontainer

when started by listening on 0.0.0.0 with the `--host` flag.
Also ensure it uses port 4000 or fails to start with `--strictPort`
to prevent silent port change that will mismatch with the exported dev container port.
@amnir
Copy link
Author

amnir commented Nov 23, 2025

@rbstp Could you please re-run the checks?
I updated the branch so all commit messages comply to the lint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/config-ui This issue or PR relates to config-ui component/ext This issue or PR relates to external components, such as Grafana pr-type/bug-fix This PR fixes a bug size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Question][Devcontainer] config-ui and grafana not accessible from outside the dev container

1 participant