Create .env

This commit is contained in:
KevinHuSh 2024-02-28 15:02:04 +08:00 committed by GitHub
parent 39269d2f79
commit 22da1b1bfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

30
docker/.env Normal file
View File

@ -0,0 +1,30 @@
# Version of Elastic products
STACK_VERSION=8.11.3
# Set the cluster name
CLUSTER_NAME=rag_flow
# Port to expose Elasticsearch HTTP API to the host
ES_PORT=1200
# Port to expose Kibana to the host
KIBANA_PORT=6601
# Increase or decrease based on the available host memory (in bytes)
MEM_LIMIT=4073741824
MYSQL_PASSWORD=infini_rag_flow
MYSQL_PORT=5455
MINIO_USER=infiniflow
MINIO_PASSWORD=infini_rag_flow
SVR_HTTP_PORT=9380
######## 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