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.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. # oss:
  40. # access_key: '${ACCESS_KEY}'
  41. # secret_key: '${SECRET_KEY}'
  42. # endpoint_url: '${ENDPOINT}'
  43. # region: '${REGION}'
  44. # bucket: '${BUCKET}'
  45. # prefix_path: '${OSS_PREFIX_PATH}'
  46. # azure:
  47. # auth_type: 'sas'
  48. # container_url: 'container_url'
  49. # sas_token: 'sas_token'
  50. # azure:
  51. # auth_type: 'spn'
  52. # account_url: 'account_url'
  53. # client_id: 'client_id'
  54. # secret: 'secret'
  55. # tenant_id: 'tenant_id'
  56. # container_name: 'container_name'
  57. # user_default_llm:
  58. # factory: 'Tongyi-Qianwen'
  59. # api_key: 'sk-xxxxxxxxxxxxx'
  60. # base_url: ''
  61. # default_models:
  62. # chat_model: 'qwen-plus'
  63. # embedding_model: 'BAAI/bge-large-zh-v1.5@BAAI'
  64. # rerank_model: ''
  65. # asr_model: ''
  66. # image2text_model: ''
  67. # oauth:
  68. # github:
  69. # client_id: xxxxxxxxxxxxxxxxxxxxxxxxx
  70. # secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  71. # url: https://github.com/login/oauth/access_token
  72. # feishu:
  73. # app_id: cli_xxxxxxxxxxxxxxxxxxx
  74. # app_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  75. # app_access_token_url: https://open.feishu.cn/open-apis/auth/v3/app_access_token/internal
  76. # user_access_token_url: https://open.feishu.cn/open-apis/authen/v1/oidc/access_token
  77. # grant_type: 'authorization_code'
  78. # authentication:
  79. # client:
  80. # switch: false
  81. # http_app_key:
  82. # http_secret_key:
  83. # site:
  84. # switch: false
  85. # permission:
  86. # switch: false
  87. # component: false
  88. # dataset: false