Skip to content

docs: drop KIBANA_USER / KIBANA_PASSWORD, which nothing reads - #20150

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
lihongyuan99:docs/remove-unread-kibana-credentials
Sep 24, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
lihongyuan99:docs/remove-unread-kibana-credentials

Conversation

@lihongyuan99

Copy link
Copy Markdown
Contributor

Summary

KIBANA_USER and KIBANA_PASSWORD are documented as Docker tunables, but nothing in the repository reads them. They occur in exactly two files — this page and docker/README.md — and in no compose file, .env, .env-go, Python, Go or workflow file.

The Kibana service (docker/docker-compose-base.yml:432-452) sets no credentials at all; it only maps ${KIBANA_PORT-5601}:5601 and loads env_file: .env. docker/.env:75-79 describes what actually enables Kibana: adding kibana to COMPOSE_PROFILES, dropping the xpack.security.* lines, pointing es.hosts at https://localhost:1200, and generating an enrollment token with bin/elasticsearch-create-enrollment-token -s kibana — a token, not these two variables. RAGFlow's Elasticsearch authentication goes through ELASTIC_PASSWORD (docker/docker-compose-base.yml:17).

So an operator who follows the table and sets KIBANA_PASSWORD gets no error and no effect. This deletes both bullets. KIBANA_PORT, which is genuinely consumed, stays.

Checked on main @ fa21687:

  • git grep -l -I -e KIBANA_USER -e KIBANA_PASSWORD origin/main -> docker/README.md, docs/administrator/configurations/configurations.md. Nothing else.
  • git grep -n -I for both names with those two pages excluded -> zero matches. The documented defaults rag_flow / infini_rag_flow are read by no code, so they are not defaults of anything.

docker/README.md repeats the same two bullets and ideally gets the same four-line deletion, but that file is currently being edited by open PR #18890, so I kept this PR to one file to avoid colliding with it.

Two adjacent observations, deliberately not changed here:

  • The same table says EXPOSE_MYSQL_PORT "Defaults to 5455", while docker/.env:163 and docker/.env-go:168 both ship 3306 (and .github/workflows/sep-tests.yml:750 still uses 5455 as its port base). One of the two is stale, but which one is intended is a maintainer call.
  • docs/develop/launch_ragflow_from_source.md:88 tells readers to use 5455 "as specified in docker/.env", which is not what that file says today.

… reads

Both are listed as Docker tunables, but the only KIBANA_* name used anywhere in
the repository outside the documentation tables is KIBANA_PORT. The Kibana
service block in docker/docker-compose-base.yml sets no credentials, and
docker/.env enables Kibana with COMPOSE_PROFILES, the xpack.security.* lines and
an elasticsearch-create-enrollment-token instead.
@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 595f85cd-f478-4752-907f-a2f32d208886

📥 Commits

Reviewing files that changed from the base of the PR and between fa21687 and ed0e898.

📒 Files selected for processing (1)
  • docs/administrator/configurations/configurations.md
💤 Files with no reviewable changes (1)
  • docs/administrator/configurations/configurations.md

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The Kibana configuration guide no longer documents KIBANA_USER or KIBANA_PASSWORD. The KIBANA_PORT entry remains.

Changes

Kibana configuration documentation

Layer / File(s) Summary
Update Kibana environment variable entries
docs/administrator/configurations/configurations.md
The guide removes the KIBANA_USER and KIBANA_PASSWORD entries. It retains the KIBANA_PORT entry.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Merge Risk: ⚪ Minimal · up to ed0e8

The guide now reflects the supported Kibana setup. No issue identified here prevents merging.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the documentation change: removing unused KIBANA_USER and KIBANA_PASSWORD entries.
Description check ✅ Passed The description includes the required Summary section and provides clear background, rationale, repository evidence, validation details, and scope boundaries.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit reads the Kibana page
Two entries hop off the stage
KIBANA_PORT stays in view
The guide is shorter, neat, and new
I nibble clover, then I’m through

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN
JinHai-CN merged commit b3cf8e0 into infiniflow:main Sep 24, 2026
1 check passed
@JinHai-CN JinHai-CN mentioned this pull request Sep 24, 2026
JinHai-CN added a commit that referenced this pull request Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants