DocsHow to disable user registration (#7265)

### What problem does this PR solve?



### Type of change


- [x] Documentation Update
This commit is contained in:
writinwaters 2025-04-24 18:02:32 +08:00 committed by GitHub
parent c8c3b756b0
commit e6a4d6bcf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 5 deletions

View File

@ -132,13 +132,13 @@ TIMEZONE='Asia/Shanghai'
# Note that neither `MAX_CONTENT_LENGTH` nor `client_max_body_size` sets the maximum size for files uploaded to an agent. # Note that neither `MAX_CONTENT_LENGTH` nor `client_max_body_size` sets the maximum size for files uploaded to an agent.
# See https://ragflow.io/docs/dev/begin_component for details. # See https://ragflow.io/docs/dev/begin_component for details.
# The log level for the RAGFlow's owned packages and imported packages. # Log level for the RAGFlow's own and imported packages.
# Available level: # Available levels:
# - `DEBUG` # - `DEBUG`
# - `INFO` (default) # - `INFO` (default)
# - `WARNING` # - `WARNING`
# - `ERROR` # - `ERROR`
# For example, following line changes the log level of `ragflow.es_conn` to `DEBUG`: # For example, the following line changes the log level of `ragflow.es_conn` to `DEBUG`:
# LOG_LEVELS=ragflow.es_conn=DEBUG # LOG_LEVELS=ragflow.es_conn=DEBUG
# aliyun OSS configuration # aliyun OSS configuration
@ -149,5 +149,7 @@ TIMEZONE='Asia/Shanghai'
# REGION=cn-hangzhou # REGION=cn-hangzhou
# BUCKET=ragflow65536 # BUCKET=ragflow65536
# user registration switch # A user registration switch:
# - Enable registration: 1
# - Disable registration: 0
REGISTER_ENABLED=1 REGISTER_ENABLED=1

View File

@ -132,6 +132,12 @@ If you cannot download the RAGFlow Docker image, try the following mirrors.
- `MACOS` - `MACOS`
Optimizations for macOS. It is disabled by default. You can uncomment this line if your OS is macOS. Optimizations for macOS. It is disabled by default. You can uncomment this line if your OS is macOS.
### User registration
- `REGISTER_ENABLED`
- `1`: (Default) Enable user registration.
- `0`: Disable user registration.
## Service configuration ## Service configuration
[service_conf.yaml.template](https://github.com/infiniflow/ragflow/blob/main/docker/service_conf.yaml.template) specifies the system-level configuration for RAGFlow and is used by its API server and task executor. [service_conf.yaml.template](https://github.com/infiniflow/ragflow/blob/main/docker/service_conf.yaml.template) specifies the system-level configuration for RAGFlow and is used by its API server and task executor.

View File

@ -18,7 +18,7 @@ Released on April 23, 2025.
- Agent version control: all updates are continuously logged and can be rolled back to a previous version via export. - Agent version control: all updates are continuously logged and can be rolled back to a previous version via export.
- Team collaboration: Agents can be shared with team members. - Team collaboration: Agents can be shared with team members.
- OpenAI-compatible APIs: Agents can be called via OpenAI-compatible APIs. - OpenAI-compatible APIs: Agents can be called via OpenAI-compatible APIs.
- User registration control: administrators can enable or disable user registration through an environment variable. - User registration control: administrators can enable or disable user registration through an environment variable. See `REGISTER_ENABLED` in **/docker/.env**.
### Improvements ### Improvements
@ -31,6 +31,7 @@ Released on April 23, 2025.
- [Set page rank](./guides/dataset/set_page_rank.md) - [Set page rank](./guides/dataset/set_page_rank.md)
- [Enable RAPTOR](./guides/dataset/enable_raptor.md) - [Enable RAPTOR](./guides/dataset/enable_raptor.md)
- [Set variables for your chat assistant](./guides/chat/set_chat_variables.md)
- [RAGFlow MCP server overview](./develop/mcp.md) - [RAGFlow MCP server overview](./develop/mcp.md)
## v0.17.2 ## v0.17.2