2024-02-28 15:02:04 +08:00
|
|
|
# Version of Elastic products
|
2024-09-09 14:02:48 +08:00
|
|
|
STACK_VERSION=8.11.3
|
2024-02-28 15:02:04 +08:00
|
|
|
|
|
|
|
# Port to expose Elasticsearch HTTP API to the host
|
|
|
|
ES_PORT=1200
|
|
|
|
|
2024-06-06 13:19:26 +08:00
|
|
|
# Set the Elasticsearch password
|
|
|
|
ELASTIC_PASSWORD=infini_rag_flow
|
|
|
|
|
2024-02-28 15:02:04 +08:00
|
|
|
# Port to expose Kibana to the host
|
|
|
|
KIBANA_PORT=6601
|
2024-07-26 10:34:35 +08:00
|
|
|
KIBANA_USER=rag_flow
|
|
|
|
KIBANA_PASSWORD=infini_rag_flow
|
2024-02-28 15:02:04 +08:00
|
|
|
|
2024-10-10 15:30:32 +08:00
|
|
|
# Update according to the available host memory (in bytes)
|
2024-04-23 14:41:10 +08:00
|
|
|
|
|
|
|
MEM_LIMIT=8073741824
|
|
|
|
|
2024-02-28 15:02:04 +08:00
|
|
|
MYSQL_PASSWORD=infini_rag_flow
|
|
|
|
MYSQL_PORT=5455
|
|
|
|
|
2024-04-18 15:45:09 +08:00
|
|
|
# Port to expose minio to the host
|
|
|
|
MINIO_CONSOLE_PORT=9001
|
|
|
|
MINIO_PORT=9000
|
|
|
|
|
2024-03-05 16:33:47 +08:00
|
|
|
MINIO_USER=rag_flow
|
2024-02-28 15:02:04 +08:00
|
|
|
MINIO_PASSWORD=infini_rag_flow
|
|
|
|
|
2024-06-08 23:24:29 +08:00
|
|
|
REDIS_PORT=6379
|
2024-05-07 11:43:33 +08:00
|
|
|
REDIS_PASSWORD=infini_rag_flow
|
|
|
|
|
2024-02-28 15:02:04 +08:00
|
|
|
SVR_HTTP_PORT=9380
|
|
|
|
|
2024-10-10 15:30:32 +08:00
|
|
|
# the Docker image for the slim version
|
2024-10-09 22:51:47 +08:00
|
|
|
RAGFLOW_IMAGE=infiniflow/ragflow:dev-slim
|
2024-09-29 18:24:24 +08:00
|
|
|
|
2024-10-10 15:30:32 +08:00
|
|
|
# If you cannot download the RAGFlow Docker image, try uncommenting either of the following hub.docker.com mirrors:
|
2024-09-29 18:24:24 +08:00
|
|
|
# RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:dev-slim
|
|
|
|
# RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:dev-slim
|
2024-04-19 18:19:15 +08:00
|
|
|
|
2024-10-10 15:30:32 +08:00
|
|
|
# To download the RAGFlow Docker image with embedding models, modify the line above as follows:
|
|
|
|
# RAGFLOW_IMAGE=infiniflow/ragflow:dev
|
|
|
|
|
|
|
|
# This Docker image includes the following four models:
|
|
|
|
# - BAAI/bge-large-zh-v1.5
|
|
|
|
# - BAAI/bge-reranker-v2-m3
|
|
|
|
# - maidalun1020/bce-embedding-base_v1
|
|
|
|
# - maidalun1020/bce-reranker-base_v1
|
|
|
|
|
|
|
|
# And the following models will be downloaded if you select them in the RAGFlow UI.
|
|
|
|
# - BAAI/bge-base-en-v1.5
|
|
|
|
# - BAAI/bge-large-en-v1.5
|
|
|
|
# - BAAI/bge-small-en-v1.5
|
|
|
|
# - BAAI/bge-small-zh-v1.5
|
|
|
|
# - jinaai/jina-embeddings-v2-base-en
|
|
|
|
# - jinaai/jina-embeddings-v2-small-en
|
|
|
|
# - nomic-ai/nomic-embed-text-v1.5
|
|
|
|
# - sentence-transformers/all-MiniLM-L6-v2
|
|
|
|
|
|
|
|
# If you cannot download the RAGFlow Docker image, try uncommenting either of the following hub.docker.com mirrors:
|
|
|
|
# RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:dev
|
|
|
|
# RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:dev
|
|
|
|
|
2024-03-05 12:08:41 +08:00
|
|
|
TIMEZONE='Asia/Shanghai'
|
|
|
|
|
2024-10-10 15:30:32 +08:00
|
|
|
# If you cannot download the RAGFlow Docker image, try uncommenting the following huggingface.co mirror:
|
2024-09-29 18:24:24 +08:00
|
|
|
# HF_ENDPOINT=https://hf-mirror.com
|
2024-09-23 10:00:44 +08:00
|
|
|
|
2024-02-28 15:02:04 +08:00
|
|
|
######## OS setup for ES ###########
|
|
|
|
# sysctl vm.max_map_count
|
|
|
|
# sudo sysctl -w vm.max_map_count=262144
|
2024-10-10 15:30:32 +08:00
|
|
|
# Note that this change is not permanent and will be reset after a system reboot.
|
|
|
|
# To make your change permanent, update /etc/sysctl.conf by:
|
|
|
|
# Adding or modifying the following line:
|
2024-02-28 15:02:04 +08:00
|
|
|
# vm.max_map_count=262144
|