mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Refactor README on different docker version. (#2775)
### What problem does this PR solve? 1. Use two env files for slim and full docker image. 2. Update README ### Type of change - [x] Documentation Update - [x] Refactoring --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com> Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
This commit is contained in:
38
docker/.env
38
docker/.env
@ -1,7 +1,6 @@
|
||||
# Version of Elastic products
|
||||
STACK_VERSION=8.11.3
|
||||
|
||||
|
||||
# Port to expose Elasticsearch HTTP API to the host
|
||||
ES_PORT=1200
|
||||
|
||||
@ -13,11 +12,10 @@ KIBANA_PORT=6601
|
||||
KIBANA_USER=rag_flow
|
||||
KIBANA_PASSWORD=infini_rag_flow
|
||||
|
||||
# Increase or decrease based on the available host memory (in bytes)
|
||||
# Update according to the available host memory (in bytes)
|
||||
|
||||
MEM_LIMIT=8073741824
|
||||
|
||||
|
||||
MYSQL_PASSWORD=infini_rag_flow
|
||||
MYSQL_PORT=5455
|
||||
|
||||
@ -33,21 +31,45 @@ REDIS_PASSWORD=infini_rag_flow
|
||||
|
||||
SVR_HTTP_PORT=9380
|
||||
|
||||
# the Docker image for the slim version
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:dev-slim
|
||||
|
||||
# If can't download RAGFlow docker image, try to uncomment either of the following hub.docker.com mirrors:
|
||||
# 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-slim
|
||||
# RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:dev-slim
|
||||
|
||||
# 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
|
||||
|
||||
TIMEZONE='Asia/Shanghai'
|
||||
|
||||
# If can't download models, try to uncomment the following huggingface.co mirror:
|
||||
# If you cannot download the RAGFlow Docker image, try uncommenting the following huggingface.co mirror:
|
||||
# HF_ENDPOINT=https://hf-mirror.com
|
||||
|
||||
######## OS setup for ES ###########
|
||||
# sysctl vm.max_map_count
|
||||
# sudo sysctl -w vm.max_map_count=262144
|
||||
# However, this change is not persistent and will be reset after a system reboot.
|
||||
# To make the change permanent, you need to update the /etc/sysctl.conf file.
|
||||
# Add or update the following line in the file:
|
||||
# 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:
|
||||
# vm.max_map_count=262144
|
||||
|
||||
Reference in New Issue
Block a user