Skip to content

docs: clarify admin bootstrap password setup - #21586

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
buua436:b186
Oct 28, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
buua436:b186

Conversation

@buua436

@buua436 buua436 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

The Docker deployment documentation did not clearly explain that the checked-in docker/.env uses ADMIN_DEFAULT_PASSWORD=admin, that operators should replace it before first startup when the Admin Service is reachable by other hosts, and that changing the variable after initialization does not reset an existing account password.

Type of change

  • Documentation update

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Walkthrough

The setup guidance now documents initial superuser password selection, the generated-password fallback, and the effect of changing password settings after account creation. Docker guidance covers the sample password and access to the Admin port.

Changes: Admin setup guidance

Layer / File(s) Summary
Initial superuser password
docker/.env, docs/administrator/management/admin_ui/before_you_begin.md, docs/administrator/management/ragflow_cli.md, docs/administrator/setup/admin_service.md
The guidance describes configured password variables, the generated-password fallback, and that changing the settings after superuser creation does not reset the account password.
Docker Admin access
docker/README.md, docs/administrator/setup/admin_service.md, docs/administrator/management/admin_ui/before_you_begin.md
The Docker instructions advise replacing the sample password before network-accessible startup and restricting port 9381 to trusted administrators. The Admin UI guidance says to change the sample password after login.

Priority: Not assessed

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: yannnnnnny, simpleqt

Merge Risk: Low · up to 72774

Correct the setup wording and Docker password instructions before relying on this guidance for deployments.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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 checks the password note,
And guards the port beside the boat.
A fresh secret starts the show,
A logged password gets a glow.
Safe burrows help the admins grow.

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

@buua436
buua436 requested a review from Yannnnnnny October 28, 2026 03:09
@buua436 buua436 added the ci Continue Integration label Oct 28, 2026
@buua436
buua436 requested a review from wangq8 October 28, 2026 03:09
@wangq8
wangq8 merged commit 79e84eb into infiniflow:main Oct 28, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants