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.

service_conf.yaml.template 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ragflow:
  2. host: ${RAGFLOW_HOST:-0.0.0.0}
  3. http_port: 9380
  4. mysql:
  5. name: '${MYSQL_DBNAME:-rag_flow}'
  6. user: '${MYSQL_USER:-root}'
  7. password: '${MYSQL_PASSWORD:-infini_rag_flow}'
  8. host: '${MYSQL_HOST:-mysql}'
  9. port: 3306
  10. max_connections: 100
  11. stale_timeout: 30
  12. minio:
  13. user: '${MINIO_USER:-rag_flow}'
  14. password: '${MINIO_PASSWORD:-infini_rag_flow}'
  15. host: '${MINIO_HOST:-minio}:9000'
  16. es:
  17. hosts: 'http://${ES_HOST:-es01}:9200'
  18. username: '${ES_USER:-elastic}'
  19. password: '${ELASTIC_PASSWORD:-infini_rag_flow}'
  20. infinity:
  21. uri: '${INFINITY_HOST:-infinity}:23817'
  22. db_name: 'default_db'
  23. redis:
  24. db: 1
  25. password: '${REDIS_PASSWORD:-infini_rag_flow}'
  26. host: '${REDIS_HOST:-redis}:6379'
  27. # postgres:
  28. # name: '${POSTGRES_DBNAME:-rag_flow}'
  29. # user: '${POSTGRES_USER:-rag_flow}'
  30. # password: '${POSTGRES_PASSWORD:-infini_rag_flow}'
  31. # host: '${POSTGRES_HOST:-postgres}'
  32. # port: 5432
  33. # max_connections: 100
  34. # stale_timeout: 30
  35. # s3:
  36. # access_key: 'access_key'
  37. # secret_key: 'secret_key'
  38. # region: 'region'
  39. # endpoint_url: 'endpoint_url'
  40. # bucket: 'bucket'
  41. # prefix_path: 'prefix_path'
  42. # signature_version: 'v4'
  43. # addressing_style: 'path'
  44. # oss:
  45. # access_key: '${ACCESS_KEY}'
  46. # secret_key: '${SECRET_KEY}'
  47. # endpoint_url: '${ENDPOINT}'
  48. # region: '${REGION}'
  49. # bucket: '${BUCKET}'
  50. # prefix_path: '${OSS_PREFIX_PATH}'
  51. # azure:
  52. # auth_type: 'sas'
  53. # container_url: 'container_url'
  54. # sas_token: 'sas_token'
  55. # azure:
  56. # auth_type: 'spn'
  57. # account_url: 'account_url'
  58. # client_id: 'client_id'
  59. # secret: 'secret'
  60. # tenant_id: 'tenant_id'
  61. # container_name: 'container_name'
  62. # user_default_llm:
  63. # factory: 'Tongyi-Qianwen'
  64. # api_key: 'sk-xxxxxxxxxxxxx'
  65. # base_url: ''
  66. # default_models:
  67. # chat_model: 'qwen-plus'
  68. # embedding_model: 'BAAI/bge-large-zh-v1.5@BAAI'
  69. # rerank_model: ''
  70. # asr_model: ''
  71. # image2text_model: ''
  72. # oauth:
  73. # github:
  74. # client_id: xxxxxxxxxxxxxxxxxxxxxxxxx
  75. # secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  76. # url: https://github.com/login/oauth/access_token
  77. # feishu:
  78. # app_id: cli_xxxxxxxxxxxxxxxxxxx
  79. # app_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  80. # app_access_token_url: https://open.feishu.cn/open-apis/auth/v3/app_access_token/internal
  81. # user_access_token_url: https://open.feishu.cn/open-apis/authen/v1/oidc/access_token
  82. # grant_type: 'authorization_code'
  83. # authentication:
  84. # client:
  85. # switch: false
  86. # http_app_key:
  87. # http_secret_key:
  88. # site:
  89. # switch: false
  90. # permission:
  91. # switch: false
  92. # component: false
  93. # dataset: false