diff --git a/docker/.env b/docker/.env new file mode 100644 index 0000000000000000000000000000000000000000..dae2cb5c47bd6e2940a54c96bad74af00046213e --- /dev/null +++ b/docker/.env @@ -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