Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

service_conf.yaml 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. ragflow:
  2. host: 0.0.0.0
  3. http_port: 9380
  4. mysql:
  5. name: 'rag_flow'
  6. user: 'root'
  7. password: 'infini_rag_flow'
  8. host: 'localhost'
  9. port: 5455
  10. max_connections: 900
  11. stale_timeout: 300
  12. max_allowed_packet: 1073741824
  13. minio:
  14. user: 'rag_flow'
  15. password: 'infini_rag_flow'
  16. host: 'localhost:9000'
  17. es:
  18. hosts: 'http://localhost:1200'
  19. username: 'elastic'
  20. password: 'infini_rag_flow'
  21. os:
  22. hosts: 'http://localhost:1201'
  23. username: 'admin'
  24. password: 'infini_rag_flow_OS_01'
  25. infinity:
  26. uri: 'localhost:23817'
  27. db_name: 'default_db'
  28. redis:
  29. db: 1
  30. password: 'infini_rag_flow'
  31. host: 'localhost:6379'
  32. # postgres:
  33. # name: 'rag_flow'
  34. # user: 'rag_flow'
  35. # password: 'infini_rag_flow'
  36. # host: 'postgres'
  37. # port: 5432
  38. # max_connections: 100
  39. # stale_timeout: 30
  40. # s3:
  41. # access_key: 'access_key'
  42. # secret_key: 'secret_key'
  43. # region: 'region'
  44. # oss:
  45. # access_key: 'access_key'
  46. # secret_key: 'secret_key'
  47. # endpoint_url: 'http://oss-cn-hangzhou.aliyuncs.com'
  48. # region: 'cn-hangzhou'
  49. # bucket: 'bucket_name'
  50. # azure:
  51. # auth_type: 'sas'
  52. # container_url: 'container_url'
  53. # sas_token: 'sas_token'
  54. # azure:
  55. # auth_type: 'spn'
  56. # account_url: 'account_url'
  57. # client_id: 'client_id'
  58. # secret: 'secret'
  59. # tenant_id: 'tenant_id'
  60. # container_name: 'container_name'
  61. # The OSS object storage uses the MySQL configuration above by default. If you need to switch to another object storage service, please uncomment and configure the following parameters.
  62. # opendal:
  63. # scheme: 'mysql' # Storage type, such as s3, oss, azure, etc.
  64. # config:
  65. # oss_table: 'opendal_storage'
  66. # user_default_llm:
  67. # factory: 'BAAI'
  68. # api_key: 'backup'
  69. # base_url: 'backup_base_url'
  70. # default_models:
  71. # chat_model:
  72. # name: 'qwen2.5-7b-instruct'
  73. # factory: 'xxxx'
  74. # api_key: 'xxxx'
  75. # base_url: 'https://api.xx.com'
  76. # embedding_model:
  77. # name: 'bge-m3'
  78. # rerank_model: 'bge-reranker-v2'
  79. # asr_model:
  80. # model: 'whisper-large-v3' # alias of name
  81. # image2text_model: ''
  82. # oauth:
  83. # oauth2:
  84. # display_name: "OAuth2"
  85. # client_id: "your_client_id"
  86. # client_secret: "your_client_secret"
  87. # authorization_url: "https://your-oauth-provider.com/oauth/authorize"
  88. # token_url: "https://your-oauth-provider.com/oauth/token"
  89. # userinfo_url: "https://your-oauth-provider.com/oauth/userinfo"
  90. # redirect_uri: "https://your-app.com/v1/user/oauth/callback/oauth2"
  91. # oidc:
  92. # display_name: "OIDC"
  93. # client_id: "your_client_id"
  94. # client_secret: "your_client_secret"
  95. # issuer: "https://your-oauth-provider.com/oidc"
  96. # scope: "openid email profile"
  97. # redirect_uri: "https://your-app.com/v1/user/oauth/callback/oidc"
  98. # github:
  99. # type: "github"
  100. # icon: "github"
  101. # display_name: "Github"
  102. # client_id: "your_client_id"
  103. # client_secret: "your_client_secret"
  104. # redirect_uri: "https://your-app.com/v1/user/oauth/callback/github"
  105. # authentication:
  106. # client:
  107. # switch: false
  108. # http_app_key:
  109. # http_secret_key:
  110. # site:
  111. # switch: false
  112. # permission:
  113. # switch: false
  114. # component: false
  115. # dataset: false
  116. # smtp:
  117. # mail_server: ""
  118. # mail_port: 465
  119. # mail_use_ssl: true
  120. # mail_use_tls: false
  121. # mail_username: ""
  122. # mail_password: ""
  123. # mail_default_sender:
  124. # - "RAGFlow" # display name
  125. # - "" # sender email address
  126. # mail_frontend_url: "https://your-frontend.example.com"