mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-06-26 22:19:57 +00:00

### What problem does this PR solve? Rework Dockerfile.scratch - Multiple stage Dockerfile - Removed conda - Replaced pip with poetry - Added missing dependencies and fixed package version conflicts - Added deepdoc models ### Type of change - [x] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
50 lines
1.1 KiB
Bash
50 lines
1.1 KiB
Bash
# Version of Elastic products
|
|
STACK_VERSION=8.11.3
|
|
|
|
|
|
# Port to expose Elasticsearch HTTP API to the host
|
|
ES_PORT=1200
|
|
|
|
# Set the Elasticsearch password
|
|
ELASTIC_PASSWORD=infini_rag_flow
|
|
|
|
# Port to expose Kibana to the host
|
|
KIBANA_PORT=6601
|
|
KIBANA_USER=rag_flow
|
|
KIBANA_PASSWORD=infini_rag_flow
|
|
|
|
# Increase or decrease based on the available host memory (in bytes)
|
|
|
|
MEM_LIMIT=8073741824
|
|
|
|
|
|
MYSQL_PASSWORD=infini_rag_flow
|
|
MYSQL_PORT=5455
|
|
|
|
# Port to expose minio to the host
|
|
MINIO_CONSOLE_PORT=9001
|
|
MINIO_PORT=9000
|
|
|
|
MINIO_USER=rag_flow
|
|
MINIO_PASSWORD=infini_rag_flow
|
|
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=infini_rag_flow
|
|
|
|
SVR_HTTP_PORT=9380
|
|
|
|
RAGFLOW_VERSION=poetry
|
|
|
|
TIMEZONE='Asia/Shanghai'
|
|
|
|
# Inside GFW, we need 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:
|
|
# vm.max_map_count=262144
|