You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.env 6.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. # The type of doc engine to use.
  2. # Available options:
  3. # - `elasticsearch` (default)
  4. # - `infinity` (https://github.com/infiniflow/infinity)
  5. # - `opensearch` (https://github.com/opensearch-project/OpenSearch)
  6. DOC_ENGINE=${DOC_ENGINE:-elasticsearch}
  7. # ------------------------------
  8. # docker env var for specifying vector db type at startup
  9. # (based on the vector db type, the corresponding docker
  10. # compose profile will be used)
  11. # ------------------------------
  12. COMPOSE_PROFILES=${DOC_ENGINE}
  13. # The version of Elasticsearch.
  14. STACK_VERSION=8.11.3
  15. # The hostname where the Elasticsearch service is exposed
  16. ES_HOST=es01
  17. # The port used to expose the Elasticsearch service to the host machine,
  18. # allowing EXTERNAL access to the service running inside the Docker container.
  19. ES_PORT=1200
  20. # The password for Elasticsearch.
  21. ELASTIC_PASSWORD=infini_rag_flow
  22. # the hostname where OpenSearch service is exposed, set it not the same as elasticsearch
  23. OS_PORT=1201
  24. # The hostname where the OpenSearch service is exposed
  25. OS_HOST=opensearch01
  26. # The password for OpenSearch.
  27. # At least one uppercase letter, one lowercase letter, one digit, and one special character
  28. OPENSEARCH_PASSWORD=infini_rag_flow_OS_01
  29. # The port used to expose the Kibana service to the host machine,
  30. # allowing EXTERNAL access to the service running inside the Docker container.
  31. KIBANA_PORT=6601
  32. KIBANA_USER=rag_flow
  33. KIBANA_PASSWORD=infini_rag_flow
  34. # The maximum amount of the memory, in bytes, that a specific Docker container can use while running.
  35. # Update it according to the available memory in the host machine.
  36. MEM_LIMIT=8073741824
  37. # The hostname where the Infinity service is exposed
  38. INFINITY_HOST=infinity
  39. # Port to expose Infinity API to the host
  40. INFINITY_THRIFT_PORT=23817
  41. INFINITY_HTTP_PORT=23820
  42. INFINITY_PSQL_PORT=5432
  43. # The password for MySQL.
  44. MYSQL_PASSWORD=infini_rag_flow
  45. # The hostname where the MySQL service is exposed
  46. MYSQL_HOST=mysql
  47. # The database of the MySQL service to use
  48. MYSQL_DBNAME=rag_flow
  49. # The port used to expose the MySQL service to the host machine,
  50. # allowing EXTERNAL access to the MySQL database running inside the Docker container.
  51. MYSQL_PORT=5455
  52. # The hostname where the MinIO service is exposed
  53. MINIO_HOST=minio
  54. # The port used to expose the MinIO console interface to the host machine,
  55. # allowing EXTERNAL access to the web-based console running inside the Docker container.
  56. MINIO_CONSOLE_PORT=9001
  57. # The port used to expose the MinIO API service to the host machine,
  58. # allowing EXTERNAL access to the MinIO object storage service running inside the Docker container.
  59. MINIO_PORT=9000
  60. # The username for MinIO.
  61. # When updated, you must revise the `minio.user` entry in service_conf.yaml accordingly.
  62. MINIO_USER=rag_flow
  63. # The password for MinIO.
  64. # When updated, you must revise the `minio.password` entry in service_conf.yaml accordingly.
  65. MINIO_PASSWORD=infini_rag_flow
  66. # The hostname where the Redis service is exposed
  67. REDIS_HOST=redis
  68. # The port used to expose the Redis service to the host machine,
  69. # allowing EXTERNAL access to the Redis service running inside the Docker container.
  70. REDIS_PORT=6379
  71. # The password for Redis.
  72. REDIS_PASSWORD=infini_rag_flow
  73. # The port used to expose RAGFlow's HTTP API service to the host machine,
  74. # allowing EXTERNAL access to the service running inside the Docker container.
  75. SVR_HTTP_PORT=9380
  76. # The RAGFlow Docker image to download.
  77. # Defaults to the v0.19.0-slim edition, which is the RAGFlow Docker image without embedding models.
  78. RAGFLOW_IMAGE=infiniflow/ragflow:v0.19.0-slim
  79. #
  80. # To download the RAGFlow Docker image with embedding models, uncomment the following line instead:
  81. # RAGFLOW_IMAGE=infiniflow/ragflow:v0.19.0
  82. #
  83. # The Docker image of the v0.19.0 edition includes built-in embedding models:
  84. # - BAAI/bge-large-zh-v1.5
  85. # - maidalun1020/bce-embedding-base_v1
  86. #
  87. # If you cannot download the RAGFlow Docker image:
  88. #
  89. # - For the `nightly-slim` edition, uncomment either of the following:
  90. # RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:nightly-slim
  91. # RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:nightly-slim
  92. #
  93. # - For the `nightly` edition, uncomment either of the following:
  94. # RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:nightly
  95. # RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:nightly
  96. # The local time zone.
  97. TIMEZONE='Asia/Shanghai'
  98. # Uncomment the following line if you have limited access to huggingface.co:
  99. # HF_ENDPOINT=https://hf-mirror.com
  100. # Optimizations for MacOS
  101. # Uncomment the following line if your operating system is MacOS:
  102. # MACOS=1
  103. # The maximum file size limit (in bytes) for each upload to your knowledge base or File Management.
  104. # To change the 1GB file size limit, uncomment the line below and update as needed.
  105. # MAX_CONTENT_LENGTH=1073741824
  106. # After updating, ensure `client_max_body_size` in nginx/nginx.conf is updated accordingly.
  107. # Note that neither `MAX_CONTENT_LENGTH` nor `client_max_body_size` sets the maximum size for files uploaded to an agent.
  108. # See https://ragflow.io/docs/dev/begin_component for details.
  109. # Log level for the RAGFlow's own and imported packages.
  110. # Available levels:
  111. # - `DEBUG`
  112. # - `INFO` (default)
  113. # - `WARNING`
  114. # - `ERROR`
  115. # For example, the following line changes the log level of `ragflow.es_conn` to `DEBUG`:
  116. # LOG_LEVELS=ragflow.es_conn=DEBUG
  117. # aliyun OSS configuration
  118. # STORAGE_IMPL=OSS
  119. # ACCESS_KEY=xxx
  120. # SECRET_KEY=eee
  121. # ENDPOINT=http://oss-cn-hangzhou.aliyuncs.com
  122. # REGION=cn-hangzhou
  123. # BUCKET=ragflow65536
  124. # A user registration switch:
  125. # - Enable registration: 1
  126. # - Disable registration: 0
  127. REGISTER_ENABLED=1
  128. # Sandbox settings
  129. # Important: To enable sandbox, you must re-declare the compose profiles. See hints at the end of file.
  130. # Double check if you add `sandbox-executor-manager` to your `/etc/hosts`
  131. # Pull the required base images before running:
  132. # docker pull infiniflow/sandbox-base-nodejs:latest
  133. # docker pull infiniflow/sandbox-base-python:latest
  134. # Our default sandbox environments include:
  135. # - Node.js base image: includes axios
  136. # - Python base image: includes requests, numpy, and pandas
  137. # Specify custom executor images below if you're using non-default environments.
  138. # SANDBOX_ENABLED=1
  139. # SANDBOX_HOST=sandbox-executor-manager
  140. # SANDBOX_EXECUTOR_MANAGER_IMAGE=infiniflow/sandbox-executor-manager:latest
  141. # SANDBOX_EXECUTOR_MANAGER_POOL_SIZE=3
  142. # SANDBOX_BASE_PYTHON_IMAGE=infiniflow/sandbox-base-python:latest
  143. # SANDBOX_BASE_NODEJS_IMAGE=infiniflow/sandbox-base-nodejs:latest
  144. # SANDBOX_EXECUTOR_MANAGER_PORT=9385
  145. # SANDBOX_ENABLE_SECCOMP=false
  146. # SANDBOX_MAX_MEMORY=256m # b, k, m, g
  147. # SANDBOX_TIMEOUT=10s # s, m, 1m30s
  148. # Important: To enable sandbox, you must re-declare the compose profiles.
  149. # 1. Comment out the COMPOSE_PROFILES line above.
  150. # 2. Uncomment one of the following based on your chosen document engine:
  151. # - For Elasticsearch:
  152. # COMPOSE_PROFILES=elasticsearch,sandbox
  153. # - For Infinity:
  154. # COMPOSE_PROFILES=infinity,sandbox
  155. # - For OpenSearch:
  156. # COMPOSE_PROFILES=opensearch,sandbox