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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. # The type of doc engine to use.
  2. # Available options:
  3. # - `elasticsearch` (default)
  4. # - `infinity` (https://github.com/infiniflow/infinity)
  5. DOC_ENGINE=${DOC_ENGINE:-elasticsearch}
  6. # ------------------------------
  7. # docker env var for specifying vector db type at startup
  8. # (based on the vector db type, the corresponding docker
  9. # compose profile will be used)
  10. # ------------------------------
  11. COMPOSE_PROFILES=${DOC_ENGINE}
  12. # The version of Elasticsearch.
  13. STACK_VERSION=8.11.3
  14. # The hostname where the Elasticsearch service is exposed
  15. ES_HOST=es01
  16. # The port used to expose the Elasticsearch service to the host machine,
  17. # allowing EXTERNAL access to the service running inside the Docker container.
  18. ES_PORT=1200
  19. # The password for Elasticsearch.
  20. ELASTIC_PASSWORD=infini_rag_flow
  21. # The port used to expose the Kibana service to the host machine,
  22. # allowing EXTERNAL access to the service running inside the Docker container.
  23. KIBANA_PORT=6601
  24. KIBANA_USER=rag_flow
  25. KIBANA_PASSWORD=infini_rag_flow
  26. # The maximum amount of the memory, in bytes, that a specific Docker container can use while running.
  27. # Update it according to the available memory in the host machine.
  28. MEM_LIMIT=8073741824
  29. # The hostname where the Infinity service is exposed
  30. INFINITY_HOST=infinity
  31. # Port to expose Infinity API to the host
  32. INFINITY_THRIFT_PORT=23817
  33. INFINITY_HTTP_PORT=23820
  34. INFINITY_PSQL_PORT=5432
  35. # The password for MySQL.
  36. MYSQL_PASSWORD=infini_rag_flow
  37. # The hostname where the MySQL service is exposed
  38. MYSQL_HOST=mysql
  39. # The database of the MySQL service to use
  40. MYSQL_DBNAME=rag_flow
  41. # The port used to expose the MySQL service to the host machine,
  42. # allowing EXTERNAL access to the MySQL database running inside the Docker container.
  43. MYSQL_PORT=5455
  44. # The hostname where the MinIO service is exposed
  45. MINIO_HOST=minio
  46. # The port used to expose the MinIO console interface to the host machine,
  47. # allowing EXTERNAL access to the web-based console running inside the Docker container.
  48. MINIO_CONSOLE_PORT=9001
  49. # The port used to expose the MinIO API service to the host machine,
  50. # allowing EXTERNAL access to the MinIO object storage service running inside the Docker container.
  51. MINIO_PORT=9000
  52. # The username for MinIO.
  53. # When updated, you must revise the `minio.user` entry in service_conf.yaml accordingly.
  54. MINIO_USER=rag_flow
  55. # The password for MinIO.
  56. # When updated, you must revise the `minio.password` entry in service_conf.yaml accordingly.
  57. MINIO_PASSWORD=infini_rag_flow
  58. # The hostname where the Redis service is exposed
  59. REDIS_HOST=redis
  60. # The port used to expose the Redis service to the host machine,
  61. # allowing EXTERNAL access to the Redis service running inside the Docker container.
  62. REDIS_PORT=6379
  63. # The password for Redis.
  64. REDIS_PASSWORD=infini_rag_flow
  65. # The port used to expose RAGFlow's HTTP API service to the host machine,
  66. # allowing EXTERNAL access to the service running inside the Docker container.
  67. SVR_HTTP_PORT=9380
  68. # The RAGFlow Docker image to download.
  69. # Defaults to the v0.18.0-slim edition, which is the RAGFlow Docker image without embedding models.
  70. RAGFLOW_IMAGE=infiniflow/ragflow:v0.18.0-slim
  71. #
  72. # To download the RAGFlow Docker image with embedding models, uncomment the following line instead:
  73. # RAGFLOW_IMAGE=infiniflow/ragflow:v0.18.0
  74. #
  75. # The Docker image of the v0.18.0 edition includes built-in embedding models:
  76. # - BAAI/bge-large-zh-v1.5
  77. # - maidalun1020/bce-embedding-base_v1
  78. #
  79. # If you cannot download the RAGFlow Docker image:
  80. #
  81. # - For the `nightly-slim` edition, uncomment either of the following:
  82. # RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:nightly-slim
  83. # RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:nightly-slim
  84. #
  85. # - For the `nightly` edition, uncomment either of the following:
  86. # RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:nightly
  87. # RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:nightly
  88. # The local time zone.
  89. TIMEZONE='Asia/Shanghai'
  90. # Uncomment the following line if you have limited access to huggingface.co:
  91. # HF_ENDPOINT=https://hf-mirror.com
  92. # Optimizations for MacOS
  93. # Uncomment the following line if your operating system is MacOS:
  94. # MACOS=1
  95. # The maximum file size limit (in bytes) for each upload to your knowledge base or File Management.
  96. # To change the 1GB file size limit, uncomment the line below and update as needed.
  97. # MAX_CONTENT_LENGTH=1073741824
  98. # After updating, ensure `client_max_body_size` in nginx/nginx.conf is updated accordingly.
  99. # Note that neither `MAX_CONTENT_LENGTH` nor `client_max_body_size` sets the maximum size for files uploaded to an agent.
  100. # See https://ragflow.io/docs/dev/begin_component for details.
  101. # The log level for the RAGFlow's owned packages and imported packages.
  102. # Available level:
  103. # - `DEBUG`
  104. # - `INFO` (default)
  105. # - `WARNING`
  106. # - `ERROR`
  107. # For example, following line changes the log level of `ragflow.es_conn` to `DEBUG`:
  108. # LOG_LEVELS=ragflow.es_conn=DEBUG
  109. # aliyun OSS configuration
  110. # STORAGE_IMPL=OSS
  111. # ACCESS_KEY=xxx
  112. # SECRET_KEY=eee
  113. # ENDPOINT=http://oss-cn-hangzhou.aliyuncs.com
  114. # REGION=cn-hangzhou
  115. # BUCKET=ragflow65536
  116. # user registration switch
  117. REGISTER_ENABLED=1