2025-03-27 12:55:01 +08:00
|
|
|
|
DOC_ENGINE=${DOC_ENGINE:-elasticsearch}
|
2025-03-24 11:19:28 +08:00
|
|
|
|
|
|
|
|
|
# ------------------------------
|
|
|
|
|
# docker env var for specifying vector db type at startup
|
|
|
|
|
# (based on the vector db type, the corresponding docker
|
|
|
|
|
# compose profile will be used)
|
|
|
|
|
# ------------------------------
|
|
|
|
|
COMPOSE_PROFILES=${DOC_ENGINE}
|
|
|
|
|
|
|
|
|
|
# The version of Elasticsearch.
|
|
|
|
|
STACK_VERSION=8.11.3
|
|
|
|
|
|
|
|
|
|
# The hostname where the Elasticsearch service is exposed
|
|
|
|
|
ES_HOST=es01
|
|
|
|
|
|
|
|
|
|
# The port used to expose the Elasticsearch service to the host machine,
|
|
|
|
|
# allowing EXTERNAL access to the service running inside the Docker container.
|
|
|
|
|
ES_PORT=1200
|
|
|
|
|
|
|
|
|
|
# The password for Elasticsearch.
|
|
|
|
|
ELASTIC_PASSWORD=infini_rag_flow
|
|
|
|
|
|
|
|
|
|
# The port used to expose the Kibana service to the host machine,
|
|
|
|
|
# allowing EXTERNAL access to the service running inside the Docker container.
|
|
|
|
|
KIBANA_PORT=6601
|
|
|
|
|
KIBANA_USER=rag_flow
|
|
|
|
|
KIBANA_PASSWORD=infini_rag_flow
|
|
|
|
|
|
|
|
|
|
# The maximum amount of the memory, in bytes, that a specific Docker container can use while running.
|
|
|
|
|
# Update it according to the available memory in the host machine.
|
|
|
|
|
MEM_LIMIT=8073741824
|
|
|
|
|
|
|
|
|
|
# The hostname where the Infinity service is exposed
|
|
|
|
|
INFINITY_HOST=infinity
|
|
|
|
|
|
|
|
|
|
# Port to expose Infinity API to the host
|
|
|
|
|
INFINITY_THRIFT_PORT=23817
|
|
|
|
|
INFINITY_HTTP_PORT=23820
|
|
|
|
|
INFINITY_PSQL_PORT=5432
|
|
|
|
|
|
|
|
|
|
# The password for MySQL.
|
|
|
|
|
MYSQL_PASSWORD=infini_rag_flow
|
|
|
|
|
# The hostname where the MySQL service is exposed
|
|
|
|
|
MYSQL_HOST=mysql
|
|
|
|
|
# The database of the MySQL service to use
|
|
|
|
|
MYSQL_DBNAME=rag_flow
|
|
|
|
|
# The port used to expose the MySQL service to the host machine,
|
|
|
|
|
# allowing EXTERNAL access to the MySQL database running inside the Docker container.
|
|
|
|
|
MYSQL_PORT=5455
|
|
|
|
|
|
|
|
|
|
# The hostname where the MinIO service is exposed
|
|
|
|
|
MINIO_HOST=minio
|
2025-06-12 22:17:41 +08:00
|
|
|
|
# 显示minio文件时的ip地址,如需局域网/公网访问,可修改为局域网/公网ip地址
|
2025-06-07 23:17:33 +08:00
|
|
|
|
MINIO_VISIT_HOST=localhost
|
2025-03-24 11:19:28 +08:00
|
|
|
|
# The port used to expose the MinIO console interface to the host machine,
|
|
|
|
|
# allowing EXTERNAL access to the web-based console running inside the Docker container.
|
|
|
|
|
MINIO_CONSOLE_PORT=9001
|
|
|
|
|
# The port used to expose the MinIO API service to the host machine,
|
|
|
|
|
# allowing EXTERNAL access to the MinIO object storage service running inside the Docker container.
|
|
|
|
|
MINIO_PORT=9000
|
|
|
|
|
# The username for MinIO.
|
|
|
|
|
# When updated, you must revise the `minio.user` entry in service_conf.yaml accordingly.
|
|
|
|
|
MINIO_USER=rag_flow
|
|
|
|
|
# The password for MinIO.
|
|
|
|
|
# When updated, you must revise the `minio.password` entry in service_conf.yaml accordingly.
|
|
|
|
|
MINIO_PASSWORD=infini_rag_flow
|
|
|
|
|
|
|
|
|
|
# The hostname where the Redis service is exposed
|
|
|
|
|
REDIS_HOST=redis
|
|
|
|
|
# The port used to expose the Redis service to the host machine,
|
|
|
|
|
# allowing EXTERNAL access to the Redis service running inside the Docker container.
|
|
|
|
|
REDIS_PORT=6379
|
|
|
|
|
# The password for Redis.
|
|
|
|
|
REDIS_PASSWORD=infini_rag_flow
|
|
|
|
|
|
|
|
|
|
SVR_HTTP_PORT=9380
|
|
|
|
|
|
2025-05-17 20:32:21 +08:00
|
|
|
|
# RAGFLOW_IMAGE原始为infiniflow/ragflow:v0.18.0-slim
|
2025-06-13 21:08:05 +08:00
|
|
|
|
RAGFLOW_IMAGE=zstar1003/ragflowplus:v0.4.3
|
|
|
|
|
RAGFLOWPLUS_MANAGEMENT_WEB_IMAGE=zstar1003/ragflowplus-management-web:v0.4.3
|
|
|
|
|
RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE=zstar1003/ragflowplus-management-server:v0.4.3
|
2025-03-24 11:19:28 +08:00
|
|
|
|
|
|
|
|
|
# The local time zone.
|
|
|
|
|
TIMEZONE='Asia/Shanghai'
|
|
|
|
|
|
2025-05-02 13:29:48 +08:00
|
|
|
|
# Uncomment the following line if you have limited access to huggingface.co:
|
2025-06-08 20:44:14 +08:00
|
|
|
|
HF_ENDPOINT=https://hf-mirror.com
|
2025-05-02 13:29:48 +08:00
|
|
|
|
|
2025-06-08 20:44:14 +08:00
|
|
|
|
# 如果是MacOS,改成MACOS=""
|
|
|
|
|
MACOS=""
|
2025-05-02 13:29:48 +08:00
|
|
|
|
|
2025-04-25 17:20:49 +08:00
|
|
|
|
# 后端允许上传的最大文件大小
|
|
|
|
|
MAX_CONTENT_LENGTH=10737418240 # 10GB
|
|
|
|
|
|
2025-04-09 23:58:17 +08:00
|
|
|
|
# 管理系统用户名和密码
|
|
|
|
|
MANAGEMENT_ADMIN_USERNAME=admin
|
|
|
|
|
MANAGEMENT_ADMIN_PASSWORD=12345678
|
|
|
|
|
# 用来加密生成token的密钥(用来加密token,提高token的安全性,防止token被破解和篡改)
|
|
|
|
|
MANAGEMENT_JWT_SECRET=20250409
|