Skip to content

feat: make OpenSearch Dashboards port configurable via DASHBOARD_PORT…#1382

Open
ahmedbutt2015 wants to merge 3 commits intolangflow-ai:mainfrom
ahmedbutt2015:feat/configurable-dashboard-port
Open

feat: make OpenSearch Dashboards port configurable via DASHBOARD_PORT…#1382
ahmedbutt2015 wants to merge 3 commits intolangflow-ai:mainfrom
ahmedbutt2015:feat/configurable-dashboard-port

Conversation

@ahmedbutt2015
Copy link
Copy Markdown

… 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:

  • 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

… 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
@github-actions github-actions Bot added community documentation 📘 Improvements or additions to documentation docker enhancement 🔵 New feature or request and removed community documentation 📘 Improvements or additions to documentation labels Apr 12, 2026
Copy link
Copy Markdown
Collaborator

@lucaseduoli lucaseduoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@github-actions github-actions Bot added documentation 📘 Improvements or additions to documentation enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request documentation 📘 Improvements or additions to documentation labels Apr 14, 2026
@github-actions github-actions Bot added documentation 📘 Improvements or additions to documentation enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request documentation 📘 Improvements or additions to documentation labels Apr 14, 2026
@ahmedbutt2015
Copy link
Copy Markdown
Author

@lucaseduoli

Looks good! Could you update the Makefile to reflect the new ports in the logs?

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.

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

Labels

docker enhancement 🔵 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Make dashboard port configurable via DASHBOARD_PORT env variable

2 participants