### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [x] Documentation Update
README
Docker environment variables
Look into .env, there're some important variables.
-
STACK_VERSION
The Elasticsearch version. Defaults to8.11.3 -
ES_PORT
Port to expose Elasticsearch HTTP API to the host. Defaults to1200. -
ELASTIC_PASSWORD
The Elasticsearch password. -
MYSQL_PASSWORD
The MySQL password. When updated, you must also revise themysql.passwordentry in service_conf.yaml accordingly. -
MYSQL_PORT
The exported port number of MySQL Docker container, needed when you access the database from outside the docker containers. -
MINIO_USER
The MinIO username. When updated, you must also revise theminio.userentry in service_conf.yaml accordingly. -
MINIO_PASSWORD
The MinIO password. When updated, you must also revise theminio.passwordentry in service_conf.yaml accordingly. -
SVR_HTTP_PORT
The port number on which RAGFlow's backend API server listens. -
RAGFLOW-IMAGE
The Docker image edition. Available options:infiniflow/ragflow:dev-slim(default): The RAGFlow Docker image without embedding modelsinfiniflow/ragflow:dev: The RAGFlow Docker image with embedding models. See the
-
TIMEZONE
The local time zone.
Service Configuration
service_conf.yaml defines the system-level configuration for RAGFlow and is used by RAGFlow's API server and task executor.
-
ragflowhost: The IP address of the API server.port: The serving port of API server.
-
mysqlname: The database name in MySQL used by RAGFlow.user: The database name in MySQL used by RAGFlow.password: The database password. When updated, you must also revise theMYSQL_PASSWORDvariable in .env accordingly.port: The serving port of MySQL inside the container. When updated, you must also revise theMYSQL_PORTvariable in .env accordingly.max_connections: The maximum database connection.stale_timeout: The timeout duration in seconds.
-
miniouser: The MinIO username. When updated, you must also revise theMINIO_USERvariable in .env accordingly.password: The MinIO password. When updated, you must also revise theMINIO_PASSWORDvariable in .env accordingly.host: The serving IP and port inside the docker container. This is not updating until changing the minio part in docker-compose.yml
-
user_default_llm
Newly signed-up users use LLM configured by this part; otherwise, you need to configure your own LLM on the Settings page.factory: The LLM suppliers. "OpenAI", "Tongyi-Qianwen", "ZHIPU-AI", "Moonshot", "DeepSeek", "Baichuan", and "VolcEngine" are supported.api_key: The API key for the specified LLM.
-
oauth
The OAuth configuration for signing up or signing in to RAGFlow using a third-party account.github: Go to Github, register a new application, the client_id and secret_key will be given.