feat: make OpenSearch Dashboards port configurable via DASHBOARD_PORT…#1382
Open
ahmedbutt2015 wants to merge 3 commits intolangflow-ai:mainfrom
Open
feat: make OpenSearch Dashboards port configurable via DASHBOARD_PORT…#1382ahmedbutt2015 wants to merge 3 commits intolangflow-ai:mainfrom
ahmedbutt2015 wants to merge 3 commits intolangflow-ai:mainfrom
Conversation
… env variable Closes langflow-ai#1380 Port 5601 was hardcoded in docker-compose.yml for the dashboards service, making it impossible to run OpenRAG alongside Kibana, an existing OpenSearch Dashboards instance, or any other tool already occupying that port. Manual edits to docker-compose.yml were overwritten on every TUI startup due to copy_compose_files(force=True) in cli.py. Changes: - docker-compose.yml: change dashboards port mapping from "5601:5601" to "\${DASHBOARD_PORT:-5601}:5601" so the host port is driven by the env variable (default 5601 — no breaking change) - .env.example: add DASHBOARD_PORT=5601 under Port Configuration, consistent with FRONTEND_PORT and LANGFLOW_PORT - docs/docs/reference/configuration.mdx: document the new DASHBOARD_PORT variable in the System settings table
lucaseduoli
requested changes
Apr 14, 2026
Collaborator
lucaseduoli
left a comment
There was a problem hiding this comment.
Looks good! Could you update the Makefile to reflect the new ports in the logs?
Part of langflow-ai#1380 - Replace all hardcoded 5601 port references in startup log echo lines with $${DASHBOARD_PORT:-5601} so printed URLs reflect the configured port - Add Dashboards health check to the health target, consistent with the existing Frontend and Langflow health checks
Author
Done! Updated the Makefile to use ${DASHBOARD_PORT:-5601} in all startup log lines and also added a Dashboards entry to the make health target. |
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.
… env variable
Closes #1380
Port 5601 was hardcoded in docker-compose.yml for the dashboards service, making it impossible to run OpenRAG alongside Kibana, an existing OpenSearch Dashboards instance, or any other tool already occupying that port. Manual edits to docker-compose.yml were overwritten on every TUI startup due to copy_compose_files(force=True) in cli.py.
Changes: