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

fix: es CVE-2024-37288 https://discuss.elastic.co/t/kibana-8-15-1-security-update-esa-2024-27-esa-2024-28/366119 ### What problem does this PR solve? ### Type of change - [x] Performance Improvement
47 lines
1015 B
Bash
47 lines
1015 B
Bash
# Version of Elastic products
|
|
STACK_VERSION=8.15.1
|
|
|
|
|
|
# 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=dev
|
|
|
|
TIMEZONE='Asia/Shanghai'
|
|
|
|
######## 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
|